2 questions >.< about LuxAdmin
#1

Hey guys,

i have 2 questions about scripting:
1.: I added a map, but i don't know how to script it, that only admins level 4 and higher can tele there. it's an event map >.<
2.: i don't know how to add more admins at LuxAdmin. I want 8 Admin levels, not 5... please help
Reply
#2

Just go through the script to change the levels.
And for the map just do like this:
pawn Код:
// This is using RCON admin, change it to LAdmin.
if(!strcmp(cmdtext, "/goto", true, 3))
{
         if(IsPlayerAdmin(playerid))
         {
               SetPlayerPos(........);
         }
         else
         {
               SendClientMessage(playerid, COLOR, "ERROR: You are not allowed to teleport there.");
         }
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)