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

Quote:
Originally Posted by pmk1
Посмотреть сообщение
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");
}
Well if it makes any difference its Xtreme's Admin system (if you know how that works) but ill try what you pasted above now.
Thanks for helping me out
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)