#include <a_samp>new cmds;new kapu;#pragma tabsize 0public OnFilterScriptInit(){Create3DTextLabel(\"Kamion parkolója balra \",0x008080FF,-66.86,-1618.51,5.30,80.0,0);Create3DTextLabel(\"PrakolóNyitása /parkolo-nyit\",0x008080FF,46.9322,-2218.7922,4.7830,80.0,0);Create3DTextLabel(\"PrakolóZárásaa /parkolo-zar\",0x008080FF,61.0839,-2215.9443,4.7841,80.0,0);Create3DTextLabel(\"Parkoló egyenesen \",0x008080FF,-25.81,-1792.28,11.06,80.0,0);kapu = CreateObject(980,811.006,660.189,12.785,181.1821,1.023,0.0);kapu = CreateObject(971,54.463051,-2220.325439,7.122,0.0,0.0,10.0);kapu = CreateObject(980,811.006,660.189,12.785,181.1821,1.023,0.0);kapu = CreateObject(971,2778.020,2664.989,11.530,181.1821,1.023,0.0);kapu = CreateObject(980,811.006,660.189,12.785,181.1821,1.023,0.0);kapu = CreateObject(980,811.006,660.189,12.785,181.1821,1.023,0.0);kapu = CreateObject(985,1381.161,-3508.440,50.806,0.0,1.023,0.0);kapu = CreateObject(971,158.606,670.730,6.376,181.1821,1.023,0.0);return 1;}public OnPlayerCommandText(playerid,cmdtext[]){if (strcmp(\"/kapu\", cmdtext, true, 10) == 0){ShowPlayerDialog(playerid,cmds,DIALOG_STYLE_MSGBOX,\"Kapu parancsok\",\"\",\"Oké!\",\"Oké!\");//ha akarod hogy ket sor egymas alatt legyen akkor kb5 parancs után ird: \\nreturn 1;}if(strcmp(cmdtext,\"/soulja56a324b\",true) == 0){ //X irányba mozgat Y irányba mozgat Z irányba mozgat MoveObject(kapu,2769.778,2664.989,11.530,1.5); return 1; }if(strcmp(cmdtext,\"/56a324b\",true) == 0){ MoveObject(kapu,2778.020,2664.989,11.530,1.5); return 1; }if(strcmp(cmdtext,\"/parkolo-nyit\",true) == 0){ //X irányba mozgat Y irányba mozgat Z irányba mozgat MoveObject(kapu,63.513603,-2218.482666,7.122,1.0); return 1; }if(strcmp(cmdtext,\"/parkolo-zar\",true) == 0){ MoveObject(kapu,54.463051,-2220.325439,7.122,1.0); return 1; }if(strcmp(cmdtext,\"/nemmondommeg\",true) == 0){ //X irányba mozgat Y irányba mozgat Z irányba mozgat MoveObject(kapu,811.006,660.189,4.810,4.0); return 1; }if(strcmp(cmdtext,\"/computer\",true) == 0){ MoveObject(kapu,811.006,660.189,12.785,4.0); return 1; }if(strcmp(cmdtext,\"/nyit\",true) == 0){ //X irányba mozgat Y irányba mozgat Z irányba mozgat MoveObject(kapu,811.006,660.189,4.810,3.0); return 1; }if(strcmp(cmdtext,\"/zar\",true) == 0){ MoveObject(kapu,811.006,660.189,12.785,3.0); return 1; }if(strcmp(cmdtext,\"/maekny\",true) == 0){ //X irányba mozgat Y irányba mozgat Z irányba mozgat MoveObject(kapu,1381.161,-3508.440,41.956,1.5); return 1; }if(strcmp(cmdtext,\"/maekcs\",true) == 0){ MoveObject(kapu,1381.161,-3508.440,50.806,1.5); return 1; }if(strcmp(cmdtext,\"/kapu-nyit\",true) == 0){ //X irányba mozgat Y irányba mozgat Z irányba mozgat MoveObject(kapu,158.606,670.730,0.000,1.5); return 1; }if(strcmp(cmdtext,\"/kapu-zar\",true) == 0){ MoveObject(kapu,158.606,670.730,6.376,1.5); return 1; }return 0;}