[Ajuda] Portao..
#1

Eu fiz um portao para se mover com comando, mas qndo eu dou /abrir, ele vai para debaixo da terra, mas as cordenadas estao certas.. pf tentem achar meu erro :S


Topo GM:
pawn Код:
new portaodp;
OnGameModeInit:
pawn Код:
portaodp = CreateObject(987,1547.166015625,-1622.3837890625,12.3828152,0.00000000,0.00000000,270.00000000); //object(elecfence_bar) (1)
OnPlayerCommandText:
pawn Код:
if(strcmp(cmdtext, "/abrir", true) ==0)
{
MoveObject(portaodp, 987,1547.166015625,-1622.3837890625,12.3828152,0.00000000,0.00000000,270.00000000);
return 1;
}

if(strcmp(cmdtext, "/fechar", true) ==0)
{
MoveObject(portaodp, 987,1548.0673828125,-1636.9521484375,12.3828125,0.00000000,0.00000000,270.00000000);
return 1;
}
    }
Reply


Messages In This Thread
[Ajuda] Portao.. - by Felipe_Wesker - 02.05.2011, 19:39
Re: Portao.. - by Lucas_ - 02.05.2011, 19:42
Re: Portao.. - by Jorge_Hard - 02.05.2011, 19:51
Re: Portao.. - by Felipe_Wesker - 02.05.2011, 19:54
Re: Portao.. - by Nightwish - 02.05.2011, 20:30

Forum Jump:


Users browsing this thread: 1 Guest(s)