Posts: 350
	Threads: 20
	Joined: May 2013
	
	
 
	
	
		
Quote:
| 
					Originally Posted by itsCody  What do you mean it isn't closed?? 
pawn Код: public OnPlayerPressButton(playerid, buttonid){
 if(buttonid == BotonGarageSAPD)
 {
 SendClientMessage(playerid,-1,"Testing");
 }
 return 1;
 }
 
You're probably missing another closing bracket else where. | 
 Is that public, i put this:
pawn Код:
public OnPlayerPressButton(playerid, buttonid)
{
    if(buttonid == BotonGarageSAPD)
    {
        SendClientMessage(playerid,-1,"Probando");
    }
     return 1;
}
return false;
}
 
I put a if and pulls no errors, the problem is it anyway does not execute the function of sending message, fuck this script is very rare, I do not understand it does not work me