02.11.2009, 00:23
Hi, I was doing a command to display the status of the player, but have information that is not being shown, ie when I type / status everything appears normal at the Frag that does not appear.
script:
Thank's
script:
Код:
if (strcmp("/status", cmdtext, true) == 0) { new nick[MAX_PLAYER_NAME]; new string1[256]; GetPlayerName(playerid,nick,sizeof(nick)); format(string1,sizeof(string1),"[Name: %s] [Kills: %d] [Deaths:%d] [Frag: %d]",nick,KILLS[playerid],DEATHS[playerid],KILLS[playerid]/DEATHS[playerid]); SendClientMessage(playerid,COLOR_GRAY,string1); return 1; }