explode cmd help
#1

Hi,i've this cmd

Код:
dcmd_explode(playerid, params[])
{
	new id;
	if(sscanf(params, "u", id))
	    return SendClientMessage(playerid, COLOR_RED, "SYNTAX: /explode [nick/id]");
	if(id == INVALID_PLAYER_ID || !IsPlayerConnected(id))
	    return SendClientMessage(playerid, COLOR_RED, "ERROR: That player is not connected!");
	new Float:Pos[3];
	GetPlayerPos(id, Pos[0], Pos[1], Pos[2]);
	CreateExplosion(Pos[0], Pos[1], Pos[2], 0, 10.0);
	return 1;
}
I need to add the message to all.

Ex: Admin ADMINAME has exploded PLAYERNAME

How?
Reply


Messages In This Thread
explode cmd help - by Face9000 - 17.12.2010, 16:05
Re: explode cmd help - by PowerPC603 - 17.12.2010, 16:11
Re: explode cmd help - by akis_tze - 17.12.2010, 16:26
Re: explode cmd help - by WillyP - 17.12.2010, 16:27
Re: explode cmd help - by Face9000 - 17.12.2010, 16:38
Re: explode cmd help - by WillyP - 17.12.2010, 16:42

Forum Jump:


Users browsing this thread: 2 Guest(s)