error in saving player prefab

im trying to save the player prefab but im getting an error The best overload for the method ‘UnityEngine.PlayerPrefs.Save()’ is not compatible with the argument list ‘(String,
int)’.

i have playerperfab.getint and i have the playerprefab.setint and the var score :int

Somewhere you are calling PlayerPrefs.Save() and passing it arguments. It doesn’t want those arguments.

Your save call should look exactly like this:

PlayerPrefs.Save();

Maybe you’re mixing that up with your SetInt() call, which does take arguments.

See also: Unity script reference for PlayerPrefs.

never mind im going to use xml instead