07.07.2007, 23:32
Hey..is there a way i can make an admin level 10 only area with xtreme admin??
This is what i wanna do...
I want to have Area 69 accessable to ONLY admins level 1+ and if they are not admin level 1+ they will die.
im using this code:
thx!
This is what i wanna do...
I want to have Area 69 accessable to ONLY admins level 1+ and if they are not admin level 1+ they will die.
im using this code:
Code:
public AdminArea(playerid) { new i, j, Float:X, Float:Y, Float:Z; for (i = 0, j = MAX_PLAYERS; i < j; i++) { GetPlayerPos(playerid, X, Y, Z); if(X >= 1677.2161 && X <= 1688.0834 && Y >= -2276.6697 && Y <= -2263.4658) { //Replace with your own x/y min/max coords if (IsPlayerAdmin(playerid)/*|| Level[playerid] == Admin*/) { } else { GameTextForPlayer(playerid,"~g~ THIS IS A RESTRICTED AREA!~r~ LICENSED PERSONEL ONLY!",10000,5); SendClientMessage(playerid, COLOR_RED, "THIS IS A RESTRICTED AREA! LICENSED PERSONEL ONLY!"); SetPlayerHealth(playerid, -99999999.99); } }} }