Help Me!
#1

Well, Guys I've Added /Stats Command But when in game i type /stats it says SERVER UNKOWN COMMAND
pawn Код:
if(strcmp(cmdtext, "/stats", true) == 0)
{
new string[128];
new Float:health;
GetPlayerHealth(playerid,health);
new pName[MAX_PLAYER_NAME];
GetPlayerName(playerid, pName, sizeof(pName));
format(string,128,"|STATS|Name:[%s] Money:[%d] Score:[%d] Health:[%d]",pName,GetPlayerMoney(playerid),GetPlayerScore(playerid),health);
SendClientMessage(playerid,COLOR_PURPLE,string);
return 1;
}
Reply


Messages In This Thread
Help Me! - by Roomeo - 12.03.2011, 08:10
Re: Help Me! - by arti - 12.03.2011, 08:16
Re: Help Me! - by MP2 - 12.03.2011, 08:19
Re: Help Me! - by HyperZ - 12.03.2011, 08:26
Re: Help Me! - by Roomeo - 12.03.2011, 09:18
Re: Help Me! - by iMonk3y - 12.03.2011, 09:25
Re: Help Me! - by Roomeo - 12.03.2011, 09:34
Re: Help Me! - by iMonk3y - 12.03.2011, 09:38
Re: Help Me! - by Montis123 - 12.03.2011, 09:39
Re: Help Me! - by iMonk3y - 12.03.2011, 09:42

Forum Jump:


Users browsing this thread: 1 Guest(s)