gate wont open
#1

pawn Код:
new islandgate;
pawn Код:
if (strcmp("/opengate", cmdtext, true) == 0)
    {
        if( !IsPlayerAdmin( playerid ) )
        return SendClientMessage( playerid, 0xFF0000FF, "You are not an Admin!" );
        MoveObject(islandgate, 1481.40002441, -3479.19995117, -2.50000000, 1);
        return 1;
    }
pawn Код:
islandgate = CreateDynamicObject(971,1481.40002441,-3479.19995117,1.00000000,0.00000000,0.00000000,270.00000000);
Reply
#2

Change

pawn Код:
MoveObject(islandgate, 1481.40002441, -3479.19995117, -2.50000000, 1);
to

pawn Код:
MoveDynamicObject(islandgate, 1481.40002441, -3479.19995117, -2.50000000, 1);
Reply
#3

Thanks......
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)