24.08.2015, 18:20
Quote:
im making a map and its half done but i wanna make a moveable gate how to make it? im using this map editor : https://sampforum.blast.hk/showthread.php?tid=282801
|
PHP код:
new obj_gates[2];
// Create gate
obj_gates[0] = CreateObject(16773, 397.4766, 2476.6328, 19.5156, 0.0, 0.0, 0.0, 100.0);
obj_gates[1] = CreateObject(16775, 412.1172, 2476.6328, 19.5156, 0.0, 0.0, 0.0, 100.0);
// Move gate
MoveObject(obj_gates[0], 397.4766, 2476.6328, 19.5156 + 10.0, 1.0, -1000.0, -1000.0, -1000.0);
MoveObject(obj_gates[1], 412.1172, 2476.6328, 19.5156 + 10.0, 1.0, -1000.0, -1000.0, -1000.0);