02.05.2011, 19:39
(
Последний раз редактировалось Felipe_Wesker; 29.04.2012 в 00:15.
)
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:
OnGameModeInit:
OnPlayerCommandText:
Topo GM:
pawn Код:
new portaodp;
pawn Код:
portaodp = CreateObject(987,1547.166015625,-1622.3837890625,12.3828152,0.00000000,0.00000000,270.00000000); //object(elecfence_bar) (1)
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;
}
}