[ajuda] 1 erro
#1

Boas pessoal,eu estou tendo problemas com este erro
PHP код:
C:\Documents and Settings\kikito.KIKITO-PC\Ambiente de trabalho\tb\tb.pwn(124) : error030compound statement not closed at the end of file (started at line 84
o comando que estб a dar erro й:

PHP код:
public OnPlayerCommandText(playeridcmdtext[])
{
        if (
strcmp("/abrirportao"cmdtexttrue10) == 0
        {  
        new 
name[24];  
        
GetPlayerName(playeridnamesizeof(name));  
        if(
strcmp("[TB]"nametrue) == 0)  
        {  
            if(
IsPlayerInRangeOfPoint(playerid202375.20, -2657.9512.69))
            {      
            
MoveObject(212375.0532, -2646.116212.69002.0);      
            
SendClientMessage(playerid0xFF8000FF"O portгo esta agora aberto :D.");  
            }      
            else if(
IsPlayerInRangeOfPoint(playerid202375.20, -2657.9512.69))
            {      
            
MoveObject(122424.7588, -2416.462412.21002.0);      
            
SendClientMessage(playerid0xFF8000FF"O portгo esta agora aberto :D.");  
            }              
            else if(
IsPlayerInRangeOfPoint(playerid202375.20, -2657.9512.69))
            {      
            
MoveObject(572376.3201, -2165.010029.06622.0);      
            
SendClientMessage(playerid0xFF8000FF"O portгo esta agora aberto :D.");  
            }  
            return 
1;  
            }          
            else if (
strcmp("/fecharportao"cmdtexttrue10) == 0)
            {  
            if(
IsPlayerInRangeOfPoint(playerid202375.20, -2657.9512.69))
            {      
            
MoveObject(212375.20, -2657.9512.692.0);    
            
SendClientMessage(playerid0xFF8000FF"O portгo esta agora fechado :D.");  
            }      
            else if(
IsPlayerInRangeOfPoint(playerid202375.20, -2657.9512.69))
            {      
            
MoveObject(122416.79, -2424.3312.22.0);      
            
SendClientMessage(playerid0xFF8000FF"O portгo esta agora fechado :D.");  
            }              
            else if(
IsPlayerInRangeOfPoint(playerid202375.20, -2657.9512.69))
            {      
            
MoveObject(572376.32, -2165.0121.012.0);      
            
SendClientMessage(playerid0xFF8000FF"O portгo estб agora fechado :D.");  
            }          
    return 
1;

^^Filterscript
Reply


Messages In This Thread
[ajuda] 1 erro - by array13 - 02.09.2011, 16:56
Re: [ajuda] 1 erro - by [R] ousenber [K] - 02.09.2011, 16:57
Re: [ajuda] 1 erro - by Shadoww5 - 02.09.2011, 17:14
Re: [ajuda] 1 erro - by array13 - 02.09.2011, 17:31
Re: [ajuda] 1 erro - by JonathanFeitosa - 02.09.2011, 17:41
Re: [ajuda] 1 erro - by array13 - 02.09.2011, 17:44
Re: [ajuda] 1 erro - by JonathanFeitosa - 02.09.2011, 17:52
Re: [ajuda] 1 erro - by array13 - 02.09.2011, 17:53
Re: [ajuda] 1 erro - by array13 - 02.09.2011, 18:03
Re: [ajuda] 1 erro - by Cristhian - 03.09.2011, 02:08

Forum Jump:


Users browsing this thread: 3 Guest(s)