#include <a_samp>#define FILTERSCRIPT#if defined FILTERSCRIPTnew lift;public OnFilterScriptInit(){ lift = CreateObject(16442, -379.027222, -1449.249023, 26.630466, 0.0000, 0.0000, 326.2500);return 1;}#elsepublic OnGameModeInit(){ lift = CreateObject(16442, -379.027222, -1449.249023, 26.630466, 0.0000, 0.0000, 326.2500);return 1; #endifpublic OnPlayerCommandText(playerid, cmdtext[]){if(strcmp(cmdtext, \"/probal\", true) == 0) { MoveObject(lift, -379.027222, -1449.245000, 26.630466, 2.0); return 1; SetTimer(\"Vissza\", 1000, false); SendClientMessage(playerid, \" A diszno elindult 10mp ed van hogy elkapd! Elkapas parancsa /elkap\"); } if(strcmp(cmdtext, \"/elkap\", true) == 0) { MoveObject(lift, -379.027222, -1449.249023, 26.630466, 2.0); return 1; } SendClientMessage(playerid, \" A disznot sikeresen elkaptad!Jutalmad 300$ \"); GivePlayerMoney(playerid,300); }return 0;}
#include <a_samp>new lift;public OnFilterScriptInit(){ lift = CreateObject(16442, -379.027222, -1449.249023, 26.630466, 0.0000, 0.0000, 326.2500); return 1;}public OnPlayerCommandText(playerid, cmdtext[]){if(strcmp(cmdtext, \"/probal\", true) == 0) { MoveObject(lift, -379.027222, -1449.245000, 26.630466, 2.0); SetTimer(\"Vissza\", 1000, false); SendClientMessage(playerid,0xFFFF00AA, \" A diszno elindult 10mp ed van hogy elkapd! Elkapas parancsa /elkap\"); return 1; } if(strcmp(cmdtext, \"/elkap\", true) == 0) { MoveObject(lift, -379.027222, -1449.249023, 26.630466, 2.0); SendClientMessage(playerid,0xFFFF00AA, \" A disznot sikeresen elkaptad!Jutalmad 300$ \"); GivePlayerMoney(playerid,300); return 1; } return 0;}