5837, -2099.14990, -2237.17969, 33.05110, 0.00000, 0.00000, 142.62920
5837, -2391.9258, -2002.0930, 301.2155, 0.0000, 0.0000, 140.5846
#include <a_samp>new Lift;forward LiftFelkuld();forward LiftLekuld();main(){print(\"\\n----------------------------------\");print(\" LIFT\");print(\"----------------------------------\\n\");} public OnGameModeInit(){ Lift = CreateObject(5837, -2099.14990, -2237.17969, 33.05110, 0.00000, 0.00000, 142.62920);SetTimer(\"LiftFelkuld\",10000,0);return 1;}public LiftFelkuld(){MoveObject(Lift,-2391.9258, -2002.0930, 301.2155, 0.0000, 0.0000, 140.5846);SetTimer(\"LiftLekuld\",10000,0);}public LiftLekuld(){MoveObject(Lift,-2099.14990, -2237.17969, 33.05110, 0.00000, 0.00000, 142.62920);SetTimer(\"LiftFelkuld\",10000,0);}
#include <a_samp>new Lift;forward LiftFelkuld();forward LiftLekuld();main(){print(\"\\n----------------------------------\");print(\" LIFT\");print(\"----------------------------------\\n\");} public OnGameModeInit(){ Lift = CreateObject(5837, -2099.14990, -2237.17969, 33.05110, 0.00000, 0.00000, 142.62920);SetTimer(\"LiftFelkuld\",10000,0);return 1;}public LiftFelkuld(){MoveObject(Lift,-2391.9258, -2002.0930, 301.2155, 100, 0.0000, 0.0000, 140.5846);SetTimer(\"LiftLekuld\",10000,0);}public LiftLekuld(){MoveObject(Lift,-2099.14990, -2237.17969, 33.05110, 100, 0.00000, 0.00000, 142.62920);SetTimer(\"LiftFelkuld\",10000,0);}
#include <a_samp>forward MoveLift();new lift, liftobject;public OnFilterScriptInit(){SetTimer(\"lift\", 20000, true); liftobject = CreateObject(5837, -2099.14990, -2237.17969, 33.05110, 0.00000, 0.00000, 142.62920);return 1;}public MoveLift() { lift = !lift;if(lift) MoveObject(liftobject, -2391.9258, -2002.0930, 301.2155, 15.0, 0.0000, 0.0000, 140.5846);else MoveObject(liftobject, -2099.14990, -2237.17969, 33.05110, 15, 0.00000, 0.00000, 142.62920);return 1;}
#include <a_samp>#include <zcmd>forward MoveLift();new lift, liftobject;public OnFilterScriptInit(){liftobject = CreateObject(5837, -2099.14990, -2237.17969, 33.05110, 0.00000, 0.00000, 142.62920);return 1;}public MoveLift(){lift = !lift;if(lift) MoveObject(liftobject, -2391.9258, -2002.0930, 301.2155, 15.0, 0.0000, 0.0000, 140.5846);else MoveObject(liftobject, -2099.14990, -2237.17969, 33.05110, 15, 0.00000, 0.00000, 142.62920);return 1;}CMD:felvono(playerid){if(IsObjectMoving(liftobject)) return SendClientMessage(playerid, -1, \"Jelenleg mozog a felvonó!\");MoveLift();return 1;}
if(strcmp(cmd, \"/felvonó\", true) == 0){if(IsPlayerConnected(playerid)){ if(IsObjectMoving(liftobject)) { MoveLift(); return 1; } else { SendClientMessage(playerid, -1, \"Jelenleg mozog a felvonó!\"); return 1; }}return 1;}
if(strcmp(cmd, \"/felvonó\", true) == 0) {if(!IsObjectMoving(liftobject)) MoveLift();else SendClientMessage(playerid, -1, \"Jelenleg mozog a felvonó!\");return 1;}