Help plz - 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: Help plz (
/showthread.php?tid=503987)
Help plz -
KrYpToN98 - 01.04.2014
i have made a map for admin only but the line if(isplayer admin) is only rcond
How to make it for any admin level?
Like from level 1 to rcon
Re: Help plz -
TrinityGamingRoleplay - 01.04.2014
Could you please send me the code on here? or post the code as a reply
Re: Help plz -
KrYpToN98 - 01.04.2014
My bro will post it, he is jacob756
Re: Help plz -
Jacob756 - 01.04.2014
Quote:
Originally Posted by TrinityGamingRoleplay
Could you please send me the code on here? or post the code as a reply
|
if(!strcmp(cmdtext,"/og",true))
{
if(IsPlayerAdmin(playerid)){
new string[50];
new movetime = MoveObject(gate, 2101.30786, 15.75350, -5.72150, 2.00);
SendClientMessage(playerid, 0xDEEE20FF, "gate opening.");
}
else SendClientMessage(playerid, 0xDEEE20FF, "You are not an admin to move the gate.");
}
Re: Help plz -
TrinityGamingRoleplay - 01.04.2014
Quote:
if(IsPlayerAdmin(playerid) =ADMIN LEVEL +
|
Try that and if you want it as when you do /rcon "cmd" then do IsPlayerRcon or IsPlayerRconLoggedin or something like that
Re: Help plz -
KrYpToN98 - 01.04.2014
Thx, can u also check my other topics in this sub forum?
Re: Help plz -
TrinityGamingRoleplay - 01.04.2014
Did it work? if it did then hit the star under my name

And could you send me link to it
Re: Help plz -
KrYpToN98 - 01.04.2014
Didnt work
Here it is
https://sampforum.blast.hk/showthread.php?tid=503981