Admin CmD ..! - 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: Admin CmD ..! (
/showthread.php?tid=612958)
Admin CmD ..! -
RamzyR - 23.07.2016
Hello I need Help How TO make a teleport Only Admins Can Use ?
and When Player Use it Tells Him "ERROR: You are Not High Enough Level To Use This Command"
Re: Admin CmD ..! -
Logic_ - 23.07.2016
This is a scripting help section, not a request section... we can help you fix your code, we can't script a code for you...
Re: Admin CmD ..! -
SyS - 23.07.2016
PHP код:
if(!IsPlayerAdmin(playerid))return SendClientMessage(playerid,-1,"You are not rcon to use this command");
add this in your cmd to check if the player is rcon admin.
if you have custom admin system add the var in the if statement to check if the player is admin.
Re: Admin CmD ..! -
RamzyR - 23.07.2016
Quote:
Originally Posted by ALiScripter
This is a scripting help section, not a request section... we can help you fix your code, we can't script a code for you...
|
Bro! iam Not requesting a CMD iam Asking For Help ! How can i make My CMD for admins Only
BTW. Thanks
SREYAS