new lift;lift = CreateDynamicObject(5154, -1773.208, 567.801, 31.255, 0.0, 0.0, -28.593);MoveDynamicObject(lift, -1773.208, 567.801, 231.154, 2.0); // 2.0 = sebesség
#include <a_samp>#define FILTERSCRIPT#if defined FILTERSCRIPTnew lift;public OnFilterScriptInit(){ lift = CreateObject(5154,-1773.208,567.801,31.255,0.0,0.0,-28.593);return 1;}#elsepublic OnGameModeInit(){ lift = CreateObject(5154,-1773.208,567.801,31.255,0.0,0.0,-28.593);return 1;}#endifpublic OnPlayerCommandText(playerid, cmdtext[]){if(strcmp(cmdtext, \"/fel\", true) == 0) { MoveObject(lift, 5154,-1773.208,567.801,231.154, 2.0); return 1; } if(strcmp(cmdtext, \"/le\", true) == 0) { MoveObject(lift, 5154,-1773.208,567.801,31.255, 2.0); return 1; }return 0;}