PD Gate Problem
#1

Why isn't the gate closing properly ?


Reply
#2

MoveDynamicObject
Reply
#3

Go to the CreateObject of the gate, and after the Float:Speed in MoveObject, be sure to add the rotation coordinates if you changed them in the object
Reply
#4

This is all the code for that gate, what i need to change ?
pawn Код:
vamapd = CreateObject(980, 1542.350098, -1627.757568, 15.156204, 0.0000, 0.0000, 90.0000);//vama lspd
pawn Код:
if(PlayerToPoint(10, playerid,1538.7560,-1628.0847,13.3828) || PlayerToPoint(10, playerid,1545.9342,-1627.7917,13.3828))
{
    MoveObject(vamapd, 1542.350098, -1627.757568, 19.731131, 4.0);
    SendClientMessage(playerid, COLOR_LIGHTRED, "*The gate of LSPD has been opened and close in 5 second(s).");
    SetTimer("vamapdclose",3500, false);
    return 1;
}
pawn Код:
forward vamapdclose();
public vamapdclose()
{
MoveObject(vamapd, 1542.350098, -1627.757568, 15.156204, 3.0);
return 1;
}
Reply
#5

anyone ?
Reply
#6

I have the sam problem everytime my gate opens I need to sapm the command and when it moves it moves out of them map any help ?
Reply
#7

does anynone know what to do ?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)