How to import admin functions from a filterscript into gamemode
#6

i dont know your admin system but im sure it's somehting like this:

if (IsPlayerXAdmin(playerid, 10) // 10 is the level, but as i said, i don't know how your admin system check player's level
{
//your gates stuff
}
else
{
SendClientMessage(playerid, COLOR_RED, "Only Level 10 Admins Can Go Through The Gates");
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)