Quote:
Originally Posted by Kush
I'm not understanding. Why would you re-declare a variable?
PHP код:
CMD:stats(playerid, params[])
{
new string[128];
format(string, sizeof(string), "Kills: %d || Deaths: %d", PlayerInfo[playerid][pKills], PlayerInfo[playerid][pDeaths]);
SendClientMessage(playerid, COLOR_REDD, string);
return 1;
}
Wouldn't that be simpler?
|
Mhm, i didn't declare anything, I just fixed the errors your Code, and Las Venturas's are easier, and much simpler tho.