Command /asay [REP+]
#3

pawn Код:
CMD:asay(playerid, params[])
{
if(PlayerInfo[playerid][pAdmin] >= 1)
{
if(!isnull(params))
{
new string[128];
format(string, sizeof(string),"Admin says: %s", params);
SendClientMessageToAll(-1, string);
}
else SendClientMessage(playerid, -1,"USAGE: /asay [message]");
}
else SendClientMessage(playerid, -1,"You must be admin.");
return 1;
}
Is this what you want?
Reply


Messages In This Thread
Command /asay [REP+] - by [FoR]EveR - 22.03.2012, 16:34
Re: Command /asay [REP+] - by T0pAz - 22.03.2012, 16:35
Re: Command /asay [REP+] - by Spooky - 22.03.2012, 16:38
AW: Command /asay [REP+] - by Tigerkiller - 22.03.2012, 16:42
Re: Command /asay [REP+] - by [FoR]EveR - 22.03.2012, 16:56
Re: Command /asay [REP+] - by Twisted_Insane - 22.03.2012, 17:12

Forum Jump:


Users browsing this thread: 2 Guest(s)