Command /asay [REP+]
#1

Please create me agein one command for /asay but not for /asay now for /sayme (is to /asay but for work) Colour to pink ! For Admin level admin ( all admins)
Reply
#2

You can do it by looping through all of the connected players and checking if that player is an admin or not, if so then send him the message.
Reply
#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
#4

why you dont learn pawno ? -,-
Reply
#5

dont work
Reply
#6

If you can't even script such a simple command, then you have NOTHING lost in this forum! Bye!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)