Need a /am command [ZCMD] - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Need a /am command [ZCMD] (
/showthread.php?tid=469342)
Need a /am command [ZCMD] -
thomaswilliams - 12.10.2013
Hey guys sorry to bother you again i need a /am[adminmessage] command that when normal players do it, it will send a green message to all admin saying for example "Im falling thru world, need tp" and then the quickest admin to respond will do /replyam or /amreply and then write a message back for example "Standby, working on it", Get me it needs to be made with ZCMD
Re: Need a /am command [ZCMD] -
PT - 12.10.2013
pawn Код:
CMD:am(playerid, params[])
{
new string[256], text[128];
if(sscanf(params, "s[128]", text)) return SendClientMessage(playerid, -1, " /a [text]");
format(string, sizeof(string), "ADM: %s", text);
SendClientMessageToAll(-1, string);
return 1;
}
Re: Need a /am command [ZCMD] -
-Prodigy- - 12.10.2013
Without sscanf:
pawn Код:
CMD:am(playerid, params[])
{
if(isnull(params)) return sendClientMessage(playerid, -1, "/Am < Text >");
new str[128];
format(str, sizeof(str), "ADM: %s", params);
return SendClientMessageToAll(-1, str);
}
Re: Need a /am command [ZCMD] -
thomaswilliams - 12.10.2013
Maybe for admins /replyam to reply to the admin message? needs to be level admin 1 up
Re: Need a /am command [ZCMD] -
thomaswilliams - 12.10.2013
Guys i don't think you understood, I need a command that when the newbies or non-staff players do it, Whatever they say will be send to all the admin [like pming all the admins] and then if the player is falling thru the world he say /am Im falling thru the world and then a admin does something like /amreply and says /amreply hangon, standby get me its not a announcement thing
Re: Need a /am command [ZCMD] -
thomaswilliams - 12.10.2013
Can anyone help?