Single to Multiple Admin Skin
#1

Yesterday I've added 4 other admin skins into the admin team, but this peace of scripting keeps only my old one "protected" from getting abused by normale players. And i want all my 5 admin skins getting "protected".


Код:
	if(ServerInfo[AdminOnlySkins] == 1) {
		if( (GetPlayerSkin(playerid) == ServerInfo[AdminSkin]) || (GetPlayerSkin(playerid) == ServerInfo[AdminSkin2]) ) {
			if(PlayerInfo[playerid][Level] >= 1)
				GameTextForPlayer(playerid,"~b~Welcome~n~~w~Admin",3000,1);
			else {
				GameTextForPlayer(playerid,"~r~This Skin Is For~n~Administrators~n~Only",4000,1);
				SetTimerEx("DelayKillPlayer", 2500,0,"d",playerid);
				return 1;
			}
		}
	}
0 warnings
0 errors
Reply
#2

Show the Variable ServerInfo[AdminSkin] & ServerInfo[AdminSkin2]

There where you defined it.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)