DELETE PLEASE
#6

It's time to realy learn pawn language.

dcmd_megaphone(playerid, params[])
{
new
string[128],
pName[MAX_PLAYER_NAME];

if(!strlen(params)) return SendClientMessage(playerid, COLOR, "/megaphone [message]");
GetPlayerName(playerid, pName, sizeof pName);
format(string, sizeof string, ">>Megaphone [Officer %s]: >>%s!!!", pName);
SendClientMessageToAll(COLOR, string);
return 1;
}

You can edit the rest by urself.
Reply


Messages In This Thread
DELETE PLEASE - by JoeDaDude - 22.01.2010, 09:41
Re: How would i do this? - by deather - 22.01.2010, 10:03
Re: How would i do this? - by JoeDaDude - 22.01.2010, 10:13
Re: How would i do this? - by [HiC]TheKiller - 22.01.2010, 10:20
Re: How would i do this? - by JoeDaDude - 22.01.2010, 10:23
Re: How would i do this? - by RyDeR` - 22.01.2010, 10:31
Re: How would i do this? - by JoeDaDude - 22.01.2010, 10:38

Forum Jump:


Users browsing this thread: 1 Guest(s)