Gate [+Rep for Helping.]
#1

Gate's


Hello, I am trying to make a Los Santos Police Department Barrier. I'm experiencing some difficulties.

My LSPD barrier code:

pawn Код:
new LSPDbar;

public OnGameModeInit()
{
    LSPDbar = CreateObject(968,1544.6999500,-1630.8000500,13.3000000,0.0000000,90.0000000,90.0000000);
        return 1;
}

The command
COMMAND:gate(playerid, params[])
{
    //CreateDynamicObject(968,1544.6999500,-1630.8000500,13.3000000,0.0000000,90.0000000,90.0000000);
    MoveObject(LSPDbar,1544.6999500,-1630.8000500,13.3000000, 5.0001, 0, 9, 90);
    return 1;
}
It opens but not how I expected it too. It just moves the object into it's set position instead off animating to its position. E.g- The gate just moves to a different position, I want it to move slowly to that position.

Thanks in advance.
Reply


Messages In This Thread
Gate [+Rep for Helping.] - by Sledgehammer - 28.11.2013, 18:46
Re: Gate [+Rep for Helping.] - by Sledgehammer - 28.11.2013, 19:38
Re: Gate [+Rep for Helping.] - by TonyII - 27.05.2014, 11:42

Forum Jump:


Users browsing this thread: 1 Guest(s)