10.06.2011, 02:27
Try IntSet because where dini_Int is, there should be a value there (meaning that you are setting the var to the value). If IntSet does not work try the GetPVar thingy (the one that you would use to get the PVar); I am not good at PVars, but why not use regular vars?
With normal vars it would look like:
Assuming 'PlayerData' would be the variable that the enum is stored in.
With normal vars it would look like:
pawn Код:
PlayerData[playerid][Hunts] = dini_Int(szRoot,"Hunts");