[FilterScript] LSPDV2

[FilterScript] LSPDV2

lspd

 

CMD:Open the 1st door command. (/kapi1,/kapi2,/kapi3)
Remove:

RemoveBuildingForPlayer(playerid, 14843, 266.3516, 81.1953, 1001.2813, 0.25);
LSPDV2.pwn
/* Tamam tamam söylemenize gerek yok hepimiz biliyoruz ki GtaTürk'ün en dandik mapperi Rapido. Üstüne varmayın çocuğun a**.*/

#include

#pragma tabsize 0
//Tanımlar
new tiktiktikkimo1;
new tiktiktikkimo2;
new tiktiktikkimo3;

//Objeler
public OnFilterScriptInit()
{
/*1-1*/tiktiktikkimo1 = CreateObject(19303,266.38,78.46,1001.30,0.00,0.00,90.00);
/*2-1*/tiktiktikkimo2 = CreateObject(19303,266.37,82.96,1001.28,0.00,0.00,90.00);
/*3-1*/tiktiktikkimo3 = CreateObject(19303,266.37,87.46,1001.28,0.00,0.00,90.00);
CreateObject(3084,231.49867249,64.17590332,1005.43548584,0.00000000,0.00000000,0.00000000); //object(trdcsgrgdoor_lvs) (1)
CreateObject(3084,226.97306824,64.06266022,1005.43548584,0.00000000,0.00000000,90.00000000); //object(trdcsgrgdoor_lvs) (2)
CreateObject(3084,237.19912720,63.96965790,1005.43548584,0.00000000,0.00000000,90.00000000); //object(trdcsgrgdoor_lvs) (3)
CreateObject(3084,232.26246643,70.18141174,1003.50958252,0.00000000,0.00000000,0.00000000); //object(trdcsgrgdoor_lvs) (4)
CreateObject(2173,232.01609802,66.96865082,1004.03906250,0.00000000,0.00000000,90.00000000); //object(med_office_desk_3) (1)
CreateObject(2173,232.00090027,67.98901367,1004.03704834,0.00000000,0.00000000,269.99743652); //object(med_office_desk_3) (2)
CreateObject(1810,233.20907593,67.16107941,1004.03906250,0.00000000,0.00000000,268.75000000); //object(cj_foldchair) (1)
CreateObject(1810,230.76904297,67.63166809,1004.03906250,0.00000000,0.00000000,91.24755859); //object(cj_foldchair) (2)
CreateObject(3109,225.96063232,69.01847076,1005.23065186,0.00000000,0.00000000,0.00000000); //object(imy_la_door) (1)
CreateObject(3109,227.09205627,68.84563446,1005.23065186,0.00000000,0.00000000,180.50000000); //object(imy_la_door) (2)
CreateObject(1280,262.74411011,86.61724854,1000.44042969,0.00000000,0.00000000,180.50000000); //object(parkbench1) (1)
CreateObject(1280,262.65332031,82.17000580,1000.44042969,0.00000000,0.00000000,180.49987793); //object(parkbench1) (2)
CreateObject(1280,262.63775635,77.71366119,1000.44042969,0.00000000,0.00000000,180.49987793); //object(parkbench1) (3)
CreateObject(2163,218.61026001,65.75572968,1004.04663086,0.00000000,0.00000000,180.00000000); //object(med_office_unit_2) (1)
CreateObject(2204,216.87026978,68.44400024,1004.04663086,0.00000000,0.00000000,89.75000000); //object(med_office8_cabinet) (1)
CreateObject(1714,217.85830688,69.91537476,1004.03906250,0.00000000,0.00000000,87.00000000); //object(kb_swivelchair1) (1)
CreateObject(2009,219.08877563,70.14791107,1004.03906250,0.00000000,0.00000000,179.00000000); //object(officedesk2l) (1)
CreateObject(1715,219.88282776,68.91337585,1004.03906250,0.00000000,0.00000000,178.50000000); //object(kb_swivelchair2) (1)
CreateObject(2205,218.59292603,77.34340668,1004.03906250,0.00000000,0.00000000,0.00000000); //object(med_office8_desk_1) (1)
CreateObject(2205,219.94979858,76.60719299,1004.03906250,0.00000000,0.00000000,180.00000000); //object(med_office8_desk_1) (2)
CreateObject(2205,217.67652893,76.61111450,1004.03906250,0.00000000,0.00000000,179.99450684); //object(med_office8_desk_1) (3)
CreateObject(2205,216.31588745,77.34294891,1004.03881836,0.00000000,0.00000000,0.00000000); //object(med_office8_desk_1) (4)
CreateObject(2356,219.68310547,75.14107513,1004.03906250,0.00000000,0.00000000,0.00000000); //object(police_off_chair) (1)
CreateObject(2356,218.61553955,75.13815308,1004.03906250,0.00000000,0.00000000,0.00000000); //object(police_off_chair) (2)
CreateObject(2356,217.57012939,75.15415192,1004.03906250,0.00000000,0.00000000,0.00000000); //object(police_off_chair) (3)
CreateObject(2356,216.52366638,75.12992859,1004.03906250,0.00000000,0.00000000,0.00000000); //object(police_off_chair) (4)
CreateObject(2356,214.84071350,76.80989075,1004.03906250,0.00000000,0.00000000,270.00000000); //object(police_off_chair) (5)
CreateObject(2356,216.42658997,78.84355927,1004.03906250,0.00000000,0.00000000,180.25000000); //object(police_off_chair) (6)
CreateObject(2356,217.46134949,78.84916687,1004.03906250,0.00000000,0.00000000,180.24719238); //object(police_off_chair) (7)
CreateObject(2356,218.41085815,78.87889862,1004.03906250,0.00000000,0.00000000,180.24719238); //object(police_off_chair) (
CreateObject(2356,219.51264954,78.90597534,1004.03906250,0.00000000,0.00000000,180.24719238); //object(police_off_chair) (9)
CreateObject(2611,221.84124756,76.86933136,1005.85388184,0.00000000,0.00000000,270.00000000); //object(police_nb1) (1)
CreateObject(2612,213.94755554,76.89608765,1005.86535645,0.00000000,0.00000000,89.00000000); //object(police_nb2) (1)
CreateObject(2816,218.07380676,77.12011719,1004.97528076,0.00000000,0.00000000,0.00000000); //object(gb_bedmags01) (1)
CreateObject(3017,216.71017456,76.81782532,1005.07232666,0.00000000,0.00000000,0.00000000); //object(arch_plans) (1)
CreateObject(13360,234.93528748,69.94772339,1006.06146240,0.00000000,0.00000000,0.00000000); //object(ce_catshackdoor) (1)
CreateObject(13360,233.83207703,69.94772339,1006.06146240,0.00000000,0.00000000,0.00000000); //object(ce_catshackdoor) (5)
CreateObject(13360,232.69357300,69.94772339,1006.06146240,0.00000000,0.00000000,0.00000000); //object(ce_catshackdoor) (6)
CreateObject(13360,231.59564209,69.94772339,1006.06146240,0.00000000,0.00000000,0.00000000); //object(ce_catshackdoor) (7)
CreateObject(13360,230.57185364,69.94772339,1006.06146240,0.00000000,0.00000000,0.00000000); //object(ce_catshackdoor) (
CreateObject(13360,229.59831238,69.94772339,1006.06146240,0.00000000,0.00000000,0.00000000); //object(ce_catshackdoor) (9)
CreateObject(19302,266.37,76.71,1001.30,0.00,0.00,90.09);
CreateObject(19302,266.37,81.21,1001.28,0.00,0.00,90.00);
CreateObject(19302,266.37,85.70,1001.28,0.00,0.00,90.00);

}
//Komutlar
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp(“/kapi1”, cmdtext, true, 10) == 0)
{
MoveObject(tiktiktikkimo1, 266.37,76.71,1001.30, 4);
SetTimer(“CeboGecoldudukkanikapat”,3000,false);
return 1;
}
if (strcmp(“/kapi2”, cmdtext, true, 10) == 0)
{
MoveObject(tiktiktikkimo2, 266.37,81.21,1001.28, 4);
SetTimer(“CeboGecoldudukkanikapat”,3000,false);
return 1;
}
if (strcmp(“/kapi3”, cmdtext, true, 10) == 0)
{
MoveObject(tiktiktikkimo3, 266.37,85.70,1001.28, 4);
SetTimer(“CeboGecoldudukkanikapat”,3000,false);
return 1;
}
/*if (strcmp(“/nezaret”, cmdtext, true, 10) == 0)
{
ShowPlayerDialog(playerid,1,2,”{FF0000}Nezarethane kapıları kontrol sistemi”,”{FFFFFF}Kapı{FF0000} 1n{FFFFFF}Kapı{FF0000} 2n{FFFFFF}Kapı{FF0000} 3″,”Seç”,”Çık”);
return 1;
}*/
return 0;
}
/*public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(dialogid == 1)
{
if(response)
{
if(listitem == 0)
{
ShowPlayerDialog(playerid,2,1,”{FF0000}Nezarethane 1. Kapı güvenliği”,”{FF0000}(UYARI){FFFFFF}Nezarethane 1. kapıyı açmak istediğinize emin misiniz ?”,”Evet”,”Çık”);
}
if(listitem == 1)
{
ShowPlayerDialog(playerid,3,1,”{FF0000}Nezarethane 2. Kapı güvenliği”,”{FF0000}(UYARI){FFFFFF}Nezarethane 2. kapıyı açmak istediğinize emin misiniz ?”,”Evet”,”Çık”);
}
if(listitem == 2)
{
ShowPlayerDialog(playerid,4,1,”{FF0000}Nezarethane 3. Kapı güvenliği”,”{FF0000}(UYARI){FFFFFF}Nezarethane 3. kapıyı açmak istediğinize emin misiniz ?”,”Evet”,”Çık”);
}
}
}
if(dialogid == 2)
{
if(response)
{
if(listitem == 1)
{
MoveObject(tiktiktikkimo1, 266.37,76.71,1001.30, 4);
SetTimer(“CeboGecoldudukkanikapat”,3000,false);
}
}
}
if(dialogid == 3)
{
if(response)
{
if(listitem == 2)
{
MoveObject(tiktiktikkimo2, 266.37,81.21,1001.28, 4);
SetTimer(“CeboGecoldudukkanikapat”,3000,false);
}
}
}
if(dialogid == 4)
{
if(response)
{
if(listitem == 3)
{
MoveObject(tiktiktikkimo3, 266.37,85.70,1001.28, 4);
SetTimer(“CeboGecoldudukkanikapat”,3000,false);
}
}
}
return 0;
}*/
//Timer
forward CeboGecoldudukkanikapat();
public CeboGecoldudukkanikapat()
{
MoveObject(tiktiktikkimo1, 266.38,78.46,1001.30, 4);
MoveObject(tiktiktikkimo2, 266.37,82.96,1001.28, 4);
MoveObject(tiktiktikkimo3, 266.37,87.46,1001.28, 4);

}

/*Not:

Cebo yapar pio çakar. Aklınızın bir köşesinde bulunsun.*/