Rcon Command problem - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Rcon Command problem (
/showthread.php?tid=125179)
Rcon Command problem -
hardstop - 02.02.2010
i want to make rcon command /opengate1
How can i make this command to be only for Rcon Admins?
if(strcmp("/opengate1", cmdtext, true, 10) == 0)
{
MoveObject(Trader1,1644.6403,-1717.2532,32.8169,1.5000); // 1.5000 means how fast it has to open
return 1;
}
Re: How to make Rcon command? -
Correlli - 02.02.2010
Use
IsPlayerAdmin function.