/kill
#2

Код:
if (strcmp("/kill", cmdtext, true, 10) == 0)
	{
		new pName[MAX_PLAYER_NAME];
  	new string[48];
  	GetPlayerName(playerid, pName, sizeof(pName));
  	format(string, sizeof(string), "%s has died", pName);
  	SendClientMessageToAll(0xAAAAAAAA, string);
  	SetPlayerHealth(playerid,0);
		return 1;
	}
look in the wiki next time

WeeDarr
Reply


Messages In This Thread
/kill - by carljohno - 18.11.2007, 14:48
Re: /kill - by weedarr - 18.11.2007, 14:51
Re: /kill - by BeckzyBoi - 18.11.2007, 16:37
Re: /kill - by IJzerenRita - 18.11.2007, 16:47
Re: /kill - by weedarr - 18.11.2007, 16:49
Re: /kill - by carljohno - 18.11.2007, 17:06
Re: /kill - by BeckzyBoi - 18.11.2007, 17:43
Re: /kill - by Grove - 18.11.2007, 19:46
Re: /kill - by BeckzyBoi - 18.11.2007, 20:43
Re: /kill - by Brad - 18.11.2007, 20:49

Forum Jump:


Users browsing this thread: 1 Guest(s)