/a chat. - 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: /a chat. (
/showthread.php?tid=446385)
/a chat. -
CLT - 25.06.2013
Hello everyone, am new to scripting and I was wondering how to create a simple /a chat command. (Admin usage only).
Thanks ahead.
Re: /a chat. -
SMW - 25.06.2013
pawn Код:
foreach(Player,i){
if(yourplayervariales[i][adminvariables] >= 1){
SendClientMessage(i,COLOR,texthere);
}
}
Re: /a chat. -
CLT - 26.06.2013
Quote:
Originally Posted by SMW
pawn Код:
foreach(Player,i){ if(yourplayervariales[i][adminvariables] >= 1){ SendClientMessage(i,COLOR,texthere); } }
|
Thank you.