Another Y_Ini problem, lol
#7

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);
}
Reply


Messages In This Thread
[SOLVED]Y_Ini problem, stats are not loading, help - by Mean - 24.01.2011, 16:35
Re: Another Y_Ini problem, lol - by HyperZ - 24.01.2011, 17:11
Re: Another Y_Ini problem, lol - by Mean - 24.01.2011, 17:21
Re: Another Y_Ini problem, lol - by Mean - 25.01.2011, 12:26
Re: Another Y_Ini problem, lol - by Mean - 26.01.2011, 12:35
Re: Another Y_Ini problem, lol - by Mean - 26.01.2011, 14:55
Re: Another Y_Ini problem, lol - by Finn - 26.01.2011, 15:02
Re: Another Y_Ini problem, lol - by Mean - 26.01.2011, 19:25
Re: Another Y_Ini problem, lol - by randomkid88 - 26.01.2011, 20:23
Re: Another Y_Ini problem, lol - by Mean - 27.01.2011, 11:47
Re: Another Y_Ini problem, lol - by randomkid88 - 27.01.2011, 20:32
Re: Another Y_Ini problem, lol - by Zh3r0 - 27.01.2011, 20:37
Re: Another Y_Ini problem, lol - by Mean - 28.01.2011, 05:06
Re: Another Y_Ini problem, lol - by Mean - 28.01.2011, 11:31
Re: Another Y_Ini problem, lol - by Mean - 28.01.2011, 11:34
Re: Another Y_Ini problem, lol - by Steven Paul - 28.01.2011, 11:38

Forum Jump:


Users browsing this thread: 5 Guest(s)