Player Suicide Command & Message[NEED HELP ++REP]
#6

try this
PHP код:
if(!strcmp("/kill"cmdtexttrue))
{
   new 
str[40], name[MAX_PLAYER_NAME];
   
GetPlayerName(playeridname sizeof(name));
   
SetPlayerHealth(playerid0);
   
format(strsizeof(str), "%s (ID:%d) Suicide!",nameplayerid);
   
SendClientMessageToAll(-1str);
   return 
1;

late
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)