10.10.2010, 17:15
hmm i was trying to make a saving system .. and i dont want to use dudb ... i want to use dini ..
now the code is
Everything is ok .. but i get these error
Why is that ? I could not fix it ... anyone could help me ?
now the code is
pawn Код:
stock Stats(playerid)
{
new thefile[256];
new Float:thealth; GetPlayerHealth(playerid, Float:thealth);
format(thefile,sizeof(thefile),"/players/%s.sav",pName(playerid));
dini_Set(thefile,"Health",floatround(thealth));//line 58
}
pawn Код:
.pwn(58) : error 035: argument type mismatch (argument 3)