[Ajuda]Portoes nao abrem
#9

dame 26 erros tao aqui os 3 portoes, alguma chave falta aqui :S

PHP код:
if(!strcmp(cmdtext"/abrirportaopsp"true)) // By Ellis
{
    if(
PlayerInfo[playerid][pLeader] == || PlayerInfo[playerid][pMember] == || PlayerInfo[playerid][pMember] == || PlayerInfo[playerid][pMember] == 3)
    {
        if (
PlayerToPoint(15playerid,1258.5428,489.5095,19.8649)) //local onde pode usar o comando
        
{
              
MoveObject(PortaoFBI,1267.76416016,480.48736572,21.324260710.8); //cordenadas portao aberto
              
SetTimer("PortaoPSP"120000);
              
SendClientMessage(playeridCOLOR_BLUE,"O portгo foi aberto e serб fechado em 7 segundos.");
              
GetPlayerName(playeridsendernamesizeof(sendername));
              
format(stringsizeof(string), "* %s abre o portгo."sendername);
              
ProxDetector(30.0playeridstringCOLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
              
PlayerPlaySound(playerid11531258.5428,489.5095,19.8649);
            return 
1;
        }
        return 
1;
    }
    return 
1;
}

if(!
strcmp(cmdtext"/abrirportao"true)) // para o instrutor
{
    if(
PlayerInfo[playerid][pLeader] == 11)
    {
        if (
PlayerToPoint(15playerid,1413.13378906,276.82910156,18.55468750)) //local onde pode usar o comando
        
{
            
MoveObject(PortaoDeLicencas,1419.46032715,270.71334839,18.554687500.8); //cordenadas portao aberto
            
SetTimer("PortaoLicencas"120000);
            
SendClientMessage(playeridCOLOR_BLUE,"A garagem foi aberta e serб fechada em 7 segundos.");
            
GetPlayerName(playeridsendernamesizeof(sendername));
            
format(stringsizeof(string), "* %s abre o portгo."sendername);
            
ProxDetector(30.0playeridstringCOLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
            
PlayerPlaySound(playerid11531413.13378906,276.82910156,18.55468750);
            return 
1;
        }
        return 
1;
    }
    return 
1;
}
        
if(!
strcmp(cmdtext"/abrirgaragem"true)) // para o instrutor
{
    if(
PlayerInfo[playerid][pLeader] == || PlayerInfo[playerid][pMember] == || PlayerInfo[playerid][pMember] == || PlayerInfo[playerid][pMember] == 3)
    {
        if (
PlayerToPoint(15playerid,652.7355,-608.3027,16.2864))
        {
              
MoveObject(pdgate1,665.98645020,-610.20446777,18.109329220.8);
              
SetTimer("GateClose"120000);
              
SendClientMessage(playeridCOLOR_BLUE,"A garagem foi aberta e serб fechada em 7 segundos.");
              
GetPlayerName(playeridsendernamesizeof(sendername));
              
format(stringsizeof(string), "* %s abre o portгo policial."sendername);
              
ProxDetector(30.0playeridstringCOLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
              
PlayerPlaySound(playerid1153652.7355,-608.3027,16.2864);
            return 
1;

Reply


Messages In This Thread
[Ajuda]Portoes nao abrem - by [Dk]TuReTOo - 31.05.2011, 20:22
Re: [Ajuda]Portoes nao abrem - by Shadoww5 - 31.05.2011, 20:42
Re: [Ajuda]Portoes nao abrem - by [Dk]TuReTOo - 31.05.2011, 20:49
Re: [Ajuda]Portoes nao abrem - by TheGarfield - 31.05.2011, 21:02
Re: [Ajuda]Portoes nao abrem - by [Dk]TuReTOo - 31.05.2011, 21:25
Re: [Ajuda]Portoes nao abrem - by Shadoww5 - 31.05.2011, 22:05
Re: [Ajuda]Portoes nao abrem - by [Dk]TuReTOo - 31.05.2011, 22:24
Re: [Ajuda]Portoes nao abrem - by Power_GamerX - 31.05.2011, 22:41
Re: [Ajuda]Portoes nao abrem - by [Dk]TuReTOo - 31.05.2011, 22:44
Re: [Ajuda]Portoes nao abrem - by Shadoww5 - 31.05.2011, 22:49

Forum Jump:


Users browsing this thread: 1 Guest(s)