[pedIDO]PORTГO
#1

PESSOAL EU TO COM MUITA DUVIDA E JA TA ME DADNDO DOR DE CABEЗA PґRA CRIAR PORTOES NENHUM FUNFA TENEI COPIAR OUTRO E MUDAR AS CORDENADS MAIS NADA ADIATOU alguem me explica?
fl
Reply
#2

//Topo do GameMode
Code:
new portao; //Definiзгo do portao

//Mode Init

Quote:

portao = CreateObject(980, CORDENADAS); //Cordenadas de onde ele vai ficar quando iniciar o GM.
//980 ID DO PORTAO

// Public CommandText
Code:
if(!strcmp("/descerportao", cmdtext, true, 10))
{
MoveObject(portao,Cordenada quando desce,2.0);  // 2.0 й a velocidade
return 1;
}

if(!strcmp("/subirportao", cmdtext, true, 10))
{
MoveObject(portao,Cordenada quando sobe,2.0); // 2.0 й a velocidade
return 1;
}
Reply
#3

vo testa aqui maninho
Reply
#4

Tudo bem (: . Depois poste oque aconteceu ou se deu certo.
Reply
#5

ta dando warning e nao ta pegando afff e o portao nao abre

Quote:

C:\Users\B\gamemodes\bps.pwn(4170) : warning 213: tag mismatch
C:\Users\B\gamemodes\bps.pwn(4172) : warning 213: tag mismatch
C:\Users\B\gamemodes\bps.pwn(10633) : warning 202: number of arguments does not match definition
C:\Users\B\gamemodes\bps.pwn(10633) : warning 202: number of arguments does not match definition
C:\Users\B\gamemodes\bps.pwn(13556) : warning 202: number of arguments does not match definition
C:\Users\B\gamemodes\bps.pwn(13556) : warning 202: number of arguments does not match definition
C:\Users\B\gamemodes\bps.pwn(13556) : warning 202: number of arguments does not match definition
C:\Users\B\gamemodes\bps.pwn(13562) : warning 202: number of arguments does not match definition
C:\Users\B\gamemodes\bps.pwn(13562) : warning 202: number of arguments does not match definition
C:\Users\B\gamemodes\bps.pwn(13562) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

Header size: 10792 bytes
Code size: 1881864 bytes
Data size: 8292468 bytes
Stack/heap size: 16384 bytes; estimated max. usage: unknown, due to recursion
Total requirements:10201508 bytes

10 Warnings.

Reply
#6

Me manda como vocк fez.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)