SA-MP Forums Archive
Need a /clearchat [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 /clearchat [ZCMD] (/showthread.php?tid=469337)



Need a /clearchat [ZCMD] - thomaswilliams - 12.10.2013

hey guys, I need a /clearchat made with ZCMD and also a /am[adminmessage] command that sends messages to a level 1 admin onwards like instead of using /report or asking for a tp, all need to be made with ZCMD, thanks


Re: Need a /clearchat [ZCMD] - Jstylezzz - 12.10.2013

pawn Код:
CMD:clearallchat(playerid,params[])
{
    for(new i=0; i < 64; i++)
    {
        SendClientMessageToAll(-1,"");
    }
    SendClientMessageToAll(-1,"The chat has been cleared.");
    return 1;
}
CMD:clearchat(playerid,params[])
{
    for(new i=0; i < 64; i++)
    {
        SendClientMessage(playerid,-1,"");
    }
    SendClientMessageToAll(-1,"You cleared your chat.");
    return 1;
}
So far for the clearchat commands.
I would like to make you aware, that this question has been asked quite a few times, if you need something next time, search ****** and/or use the SA:MP forums search function. I'm not sure about your admin command, as I don't know your admin variables.


Re: Need a /clearchat [ZCMD] - thomaswilliams - 12.10.2013

Quote:
Originally Posted by Jstylezzz
Посмотреть сообщение
pawn Код:
CMD:clearallchat(playerid,params[])
{
    for(new i=0; i < 64; i++)
    {
        SendClientMessageToAll(-1,"");
    }
    SendClientMessageToAll(-1,"The chat has been cleared.");
    return 1;
}
CMD:clearchat(playerid,params[])
{
    for(new i=0; i < 64; i++)
    {
        SendClientMessage(playerid,-1,"");
    }
    SendClientMessageToAll(-1,"You cleared your chat.");
    return 1;
}
So far for the clearchat commands.
I would like to make you aware, that this question has been asked quite a few times, if you need something next time, search ****** and/or use the SA:MP forums search function. I'm not sure about your admin command, as I don't know your admin variables.
Thanks can you make a /am command for me as well please? /am is for when a normal player says like /am im falling thru the sky, need tp, the admins can do something like /amreply and say "Standy",and then tp i need the /amreply and /am for admin level 1 and above, if you can


Re: Need a /clearchat [ZCMD] - Yuri8 - 14.01.2017

Quote:
Originally Posted by thomaswilliams
Посмотреть сообщение
Thanks can you make a /am command for me as well please? /am is for when a normal player says like /am im falling thru the sky, need tp, the admins can do something like /amreply and say "Standy",and then tp i need the /amreply and /am for admin level 1 and above, if you can
If you mean falling thru the map, the player can use /report [text] and an admin will use /slap [id].


Re: Need a /clearchat [ZCMD] - Lordzy - 14.01.2017

Quote:
Originally Posted by Yuri8
Посмотреть сообщение
If you mean falling thru the map, the player can use /report [text] and an admin will use /slap [id].
Are you using Internet Explorer? Because this is an old topic.