11.09.2013, 14:20
Код:
/// GATE SYSTEM BY TUNTUN! #include <a_samp> #include <zcmd> new Gate1; public OnFilterScriptInit() { Gate1 = CreateObject(968,2423.5000000,-2094.8000488,13.3000002,0.0000000,353.9998779,270.0000000); print("\n--------------------------------------"); print(" Gate system loaded!"); print("--------------------------------------\n"); return 1; } public OnFilterScriptExit() { return 1; } CMD:closegate(playerid,params[]) { MoveObject(Gate1,2423.50000, -2094.80005, 13.30000,2.9); return 1; } CMD:opengate(playerid,params[]) { MoveObject(Gate1,2423.5000000,-2094.8000488,13.3000002,2.9); return 1; } CMD:gatesystem(playerid,params[]) { SetPlayerPos(playerid,2423.5000000,-2094.8000488,13.3000002); return 1; }