Moving gates help.
#1

Can anybody help me. When I try to open the gate it dosen't open but I get the message saying You have opened Fire Department Bay 1, but it dosen't move. Any help would be much appreciated. Here's the code.

pawn Код:
new firegate;
And under ongamemodeinit

pawn Код:
firegate = CreateDynamicObject(8948, 662.48, 1719.57, 7.95,   0.00, 0.00, 310.79);
pawn Код:
YCMD:fd1o(playerid, params[])
{
    if(IsPlayerInRangeOfPoint(playerid, 20.0, 652.4600, 1710.8800, 7.9500))
    {
        MoveObject(firegate, 652.4600, 1710.8800, 4.1918, 3.0);
        SendClientMessage(playerid, COLOR_PINK, "You have opened Fire Department Bay 1.");
    }
    return 1;
}
Reply


Messages In This Thread
Moving gates help. - by tiernantheman - 07.06.2012, 22:16
Re: Moving gates help. - by JhnzRep - 07.06.2012, 22:17
Re: Moving gates help. - by MP2 - 07.06.2012, 22:19
Re: Moving gates help. - by tiernantheman - 07.06.2012, 22:21

Forum Jump:


Users browsing this thread: 1 Guest(s)