26.01.2011, 15:02
How does that even compile without warnings?
pawn Code:
stock LoadStats(playerid, name[], value[])
{
if(!strcmp(name, "Cash")) GivePlayerMoney(playerid, strval(value));
if(!strcmp(name, "Score")) SetPlayerScore(playerid, strval(value));
if(!strcmp(name, "Level")) PInfo[playerid][Level] = strval(value);
if(!strcmp(name, "Kills")) PInfo[playerid][Kills] = strval(value);
if(!strcmp(name, "Deaths")) PInfo[playerid][Deaths] = strval(value);
}