10.10.2010, 17:27
You know It's not always that exact line the error Is showing that is wrong..
If you defined the variable wrong above but in the right format It will show an error where you use It.
Try this;
If you defined the variable wrong above but in the right format It will show an error where you use It.
Try this;
pawn Код:
stock Stats(playerid)
{
new thefile[256];
new Float:thealth;
GetPlayerHealth(playerid, thealth);
format(thefile,sizeof(thefile),"/players/%s.sav",pName(playerid));
dini_Set(thefile,"Health",thealth);//line 58
}