Posts: 1,228
	Threads: 133
	Joined: Oct 2009
	
Reputation: 
0
	 
	
	
		Randomly the script makes a person admin, i check player files and their lvl  is 0 ....
Can someone help? hows this possible
	
	
	
	
		
	
 
 
	
	
	
		
	Posts: 918
	Threads: 7
	Joined: Aug 2007
	
	
 
	
	
		Make sure no rcon way to give yourself admin also its a scripting problem likely not server sided.
	
	
	
	
		
	
 
 
	
	
	
		
	Posts: 718
	Threads: 32
	Joined: Jul 2010
	
Reputation: 
0
	 
	
		
		
		
		30.07.2010, 06:33 
(
 Последний раз редактировалось Code_Red; 30.07.2010 в 07:11.
)
	
	 
	
		im no genius but i think it has something to do with one of you're admin scripts
	
	
	
	
		
	
 
 
	
	
	
		
	Posts: 1,228
	Threads: 133
	Joined: Oct 2009
	
Reputation: 
0
	 
	
	
		It's custom and it's in my gm
	
	
	
	
		
	
 
 
	
	
	
		
	Posts: 6,129
	Threads: 36
	Joined: Jan 2009
	
	
 
	
	
		If you're not using PVars, do you reset the admin level variable when a player connects?
	
	
	
	
		
	
 
 
	
	
	
		
	Posts: 1,228
	Threads: 133
	Joined: Oct 2009
	
Reputation: 
0
	 
	
	
		yes i have this   onplayerconnect
PlayerInfo[Player][AdminLevel] = 0;
	
	
	
	
		
	
 
 
	
	
	
		
	Posts: 3,304
	Threads: 58
	Joined: Sep 2008
	
Reputation: 
0
	 
	
	
		It's possible because your lack of scripting.
Check for any code that sets admin levels, and see how it may bug up.
	
	
	
	
		
	
 
 
	
	
			Guest3598475934857938411 
			
				Unregistered
				
				
			
	
	
		
 
	
 
	
	
		Checkk your admin script but i know a thing that might fix ya up! Its AccountInfo[playerid[level=0 its not exactly as yours because you might be using a different admin sys but something like that on OnPlayerConnect!
	
	
	
	
		
	
 
 
	
	
	
		
	Posts: 6,129
	Threads: 36
	Joined: Jan 2009
	
	
 
	
	
		
Quote:
| 
					Originally Posted by Saurik  yes i have this   onplayerconnect
 PlayerInfo[Player][AdminLevel] = 0;
 | 
 >Player<? I assume conforms to the returned playerid variable for the OnPlayerConnect callback?