SA-MP Forums Archive
[Ajuda] Portгo - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] Portгo (/showthread.php?tid=360625)



Portгo - denis15711 - 18.07.2012

Eae meu portao nao esta abrindo e fechando certo ele abrir torto e fecha torto alguem me ajuda ae fazendo favor > cуdigos :

Em FilterScriptInit :
pawn Код:
portaols = CreateObject(971,1539.50000000,-1627.19995117,16.00000000,0.00000000,0.00000000,91.00000000); //object(subwaygate) (2)
Comando de abrir portao :
pawn Код:
if(strcmp(cmd, "/apls", true) == 0)
    {
         MoveObject(portaols, 1539.5,-1627.1999511719,9, 10);
         return 1;
    }

//Este й de fechar :
    if(strcmp(cmd, "/fpls", true) == 0)
    {
         MoveObject(portaols, 1539.5,-1627.199951179,16, 10);
         return 1;
    }
Alguem poderia me ajudar dou + rep


Re: Portгo - Don_Speed - 18.07.2012

Coordenadas certas?


Re: Portгo - denis15711 - 18.07.2012

Certo


Re: Portгo - Don_Speed - 18.07.2012

Entao Usa Streamer Atualizado !


Re: Portгo - denis15711 - 18.07.2012

Nгo vou atualizar


Re: Portгo - Joao Pedro - 18.07.2012

Quote:
Originally Posted by denis15711
Посмотреть сообщение
Nгo vou atualizar
Entгo fica com erro e nгo vem chorar aqui. Mal agradecido.


Re: Portгo - Panico622 - 18.07.2012

pawn Код:
if(strcmp(cmd, "/apls", true) == 0)
    {
         MoveObject(portaols, 1539.5,-1627.1999511719,9, 3.0,0.00000000,0.00000000,91.00000000);
         return 1;
    }

//Este й de fechar :
    if(strcmp(cmd, "/fpls", true) == 0)
    {
         MoveObject(portaols, 1539.50000000,-1627.19995117,16.00000000,3.0,0.00000000,0.00000000,91.00000000);
         return 1;
    }



Re: Portгo - denis15711 - 18.07.2012

Deu 6 warnings em uma linha

MoveObject(portaols, 1539.5,-1627.1999511719,9, 3.0,0.00000000,0.00000000,91.00000000);

warning 202: number of arguments does not match definition


Re: Portгo - Panico622 - 18.07.2012

Quote:
Originally Posted by denis15711
Посмотреть сообщение
Deu 6 warnings em uma linha

MoveObject(portaols, 1539.5,-1627.1999511719,9, 3.0,0.00000000,0.00000000,91.00000000);

warning 202: number of arguments does not match definition
update


Re: Portгo - ShutDown_ - 18.07.2012

Atualiza suas includes pra 0.3e
Baixando Aqui