27.04.2017, 13:26
This is entire code no object appearing
Код:
#include <a_samp> #if defined FILTERSCRIPT #endif new gate1; new gate1_status; public OnFilterScriptInit() { print("\n--------------------------------------"); print(" n--------------n"); print("--------------------------------------\n"); gate1_status = 1; MoveObject(gate1, -50.402030,1829.453125,19.898818, 2.5); gate1 = CreateObject(19277,-50.402030,1829.453125,19.898818,0.0000000,0.0000000,0.0000000); } public OnObjectMoved(objectid) { if(objectid == gate1) { if(gate1_status == 1) { MoveObject(gate1, -50.402030, 1829.45312, 28.398838, 2.5); gate1_status = 0; } else { MoveObject(gate1, -50.402030,1829.453125,19.898818, 2.5); gate1_status = 1; } } return 1; }