Posts: 3,351
	Threads: 780
	Joined: Jan 2010
	
	
 
	
	
		else if [pGroup] >= 5) retrun] SendClientMessage(playerid, COLOR_RED, "You are not apart of the S.A.S!");
	
	
	
	
		
	
 
 
	
	
	
		
	Posts: 136
	Threads: 42
	Joined: Nov 2011
	
Reputation: 
0
	 
	
	
		I don't think these errors have anything to do with your sasgate command.
	
	
	
	
		
	
 
 
	
	
	
		
	Posts: 3,351
	Threads: 780
	Joined: Jan 2010
	
	
 
	
	
		"else if [pGroup] >= 5) retrun"
You fixed that retrun?Must be return.
	
	
	
	
		
	
 
 
	
	
	
		
	Posts: 845
	Threads: 123
	Joined: Dec 2011
	
Reputation: 
0
	 
	
	
		Yes I fixed it. 
@Sasoft, If I remove that Command the errors go, so it must be. xDD
Also the command dont look right.
	
	
	
	
		
	
 
 
	
	
	
		
	Posts: 3,351
	Threads: 780
	Joined: Jan 2010
	
	
 
	
	
		The code don't work because you have opened 3 of this brackets: 
{ and closed only one.
pawn Код:
CMD:sasgate(playerid, params[]) 
        {
    if(playerVariables[playerid][pGroup] == 5) 
       {
    MoveObject(objectname, -411.60000610352, 1362, 14.800000190735, 1);
    {
    else if [pGroup] >= 5) retrun SendClientMessage(playerid, COLOR_RED, "You are not apart of the S.A.S!");
    }
    }
   return 1;
}