04.06.2013, 21:00
How can I make that gate will move good and on speed 4 and with the same rotations of the start created object :
ciagate = CreateDynamicObject(980, 1355.8223, -1486.3730, 15.1283, 0.3000, 1.6200, 60.8400);
ciagate = CreateDynamicObject(980, 1355.8223, -1486.3730, 15.1283, 0.3000, 1.6200, 60.8400);
Код:
CMD:ciagate(playerid, params[]) { if(PlayerInfo[playerid][pMember] == 7 || PlayerInfo[playerid][pLeader] == 7) if(CIAGateStatus == 0) { MoveDynamicObject(cia_gate, 1355.8223, -1486.3730, 8.1283, 2); CIAGateStatus = 1; } else { MoveDynamicObject(cia_gate, 1355.8223, -1486.3730, 15.1283, 2); CIAGateStatus = 0; } return 1; }