Help plz
#1

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
Reply
#2

Could you please send me the code on here? or post the code as a reply
Reply
#3

My bro will post it, he is jacob756
Reply
#4

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.");
}
Reply
#5

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
Reply
#6

Thx, can u also check my other topics in this sub forum?
Reply
#7

Did it work? if it did then hit the star under my name And could you send me link to it
Reply
#8

Didnt work
Here it is
https://sampforum.blast.hk/showthread.php?tid=503981
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)