24.04.2011, 17:17
Well I basically made this rather nooby command but it kinda works except for that it says only says "Race", am I using "Race: %s" wrong or something which I strongly believe I do, but please inform me and tell me how to fix it, thanks.
Код:
COMMAND:stats(playerid, params[]) { new string[128]; if (gTeam[playerid] == 2)gTeam="Vampire"; if (gTeam[playerid] == 1)gTeam="Human"; format(string, sizeof(string), "Race: %s"); SendClientMessage(playerid,0xFFFFFFAA,string); return 1;