a cmd
#6

COMMAND:a(playerid, params[])
{
if(PlayerInfo[playerid][pAdmin] < 1)
{
new result[128];
if(sscanf(params,"s[128]",result)) return SendClientMessage(playerid, 0xFFFFFFFF, "SERVER: /a [msg]");
new string[128],Name[MAX_PLAYER_NAME];
GetPlayerName(playerid,Name,sizeof(Name));
format(string,sizeof(string),"[A-CHAT] %s (%d): %s",Name,playerid,result);
foreach(Player,i)
SendClientMessage(pInfo[playerid][pAdmin],-1,string);
}
return 1;
}
Reply


Messages In This Thread
a cmd - by Deny1 - 30.01.2016, 15:31
Re: a cmd - by BiosMarcel - 30.01.2016, 15:37
Re: a cmd - by Deny1 - 30.01.2016, 15:41
Re: a cmd - by BiosMarcel - 30.01.2016, 15:44
Re: a cmd - by adithegman - 30.01.2016, 15:45
Re: a cmd - by fuckingcruse - 30.01.2016, 15:55
Re: a cmd - by BiosMarcel - 30.01.2016, 16:10
Re: a cmd - by Deny1 - 30.01.2016, 16:27
Re: a cmd - by BiosMarcel - 30.01.2016, 16:33
Re: a cmd - by Deny1 - 30.01.2016, 18:18

Forum Jump:


Users browsing this thread: 2 Guest(s)