Admin Only Area With Xtreme Admin?
#1

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:
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);
		}
	}}
}
thx!
Reply


Messages In This Thread
Admin Only Area With Xtreme Admin? - by serj009 - 07.07.2007, 23:32
Re: Admin Only Area With Xtreme Admin? - by Mycosis - 15.07.2007, 13:06
Re: Admin Only Area With Xtreme Admin? - by Joske_Vermeulen - 15.07.2007, 13:16
Re: Admin Only Area With Xtreme Admin? - by gtamaster - 08.01.2008, 14:34
Re: Admin Only Area With Xtreme Admin? - by [SDO]Tako - 16.02.2009, 00:51

Forum Jump:


Users browsing this thread: 1 Guest(s)