Help Me!
#4

Try This:
pawn Код:
if (strcmp("/stats", cmdtext, true, 10) == 0)
{
    new string[128], Float:pHealth, pName[MAX_PLAYER_NAME];
    GetPlayerName(playerid, pName, sizeof(pName));
    GetPlayerHealth(playerid,pHealth);
    format(string,128,"|STATS|Name:[%s] Money:[%d] Score:[%d] Health:[%0.2f]",pName, GetPlayerMoney(playerid), GetPlayerScore(playerid), pHealth);
    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: 2 Guest(s)