how do i convert MoveObject from 0.3c to 0.3d
#7

i just want to tell that i added those , -1000.0 because the gates rotate...

this is my actual script:
pawn Код:
if (strcmp("/dgate", cmdtext, true, 10) == 0)
    {
        if(pInfo[playerid][pDonator] == 0) return SendClientMessage(playerid, COLOR_RED, "You are not donator.");
        if(dGateOpened == 0)
        {
            F_MoveObject(dgate, -2864.9616699219, 460.51702880859, 4.5343232154846, 2.0);
            SendClientMessage(playerid, COLOR_GREEN, "Donator Gate: Opened.");
            dGateOpened = 1;
        }
        else
        {
            F_MoveObject(dgate, -2864.921875, 468.37530517578, 4.5343232154846, 2.0);
            SendClientMessage(playerid, COLOR_RED, "Donator Gate: Closed.");
            dGateOpened = 0;
        }
        return 1;
    }
but the gates are rotating when i open them...
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)