Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <a_samp>
- #include <zcmd>
- #define svehdialog 6548
- new vehi[MAX_PLAYERS];
- new sobj[15],sobj1[27],sobj2[2],sobj3[58];
- #if defined FILTERSCRIPT
- public OnFilterScriptInit()
- {
- print("\n--------------------------------------");
- print(" Loaded Special Vehicles by newbienoob ");
- print("--------------------------------------\n");
- return 1;
- }
- public OnFilterScriptExit()
- {
- return 1;
- }
- #else
- CMD:sveh(playerid,params[])
- {
- ShowPlayerDialog(playerid,svehdialog,DIALOG_STYLE_LIST,"{2F70D0}Special Vehicles","{00FF00}DFT-30 \n{00FF00}RoadTrain \n{00FF00}Shamal \n{00FF00}Tropic","Spawn","Cancel");
- return 1;
- }
- public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
- {
- new Float:x,Float:y,Float:z,Float:a;
- GetPlayerPos(playerid,x,y,z);
- GetPlayerFacingAngle(playerid,a);
- switch(dialogid)
- {
- case svehdialog:
- {
- if(response)
- {
- if(listitem == 0)
- {
- if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER || GetPlayerState(playerid) == PLAYER_STATE_ONFOOT)
- {
- if(vehi[playerid] != 0) DestroyVehicle(vehi[playerid]);
- DestroyObject(sobj1[0]);
- DestroyObject(sobj1[1]);
- DestroyObject(sobj1[2]);
- DestroyObject(sobj1[3]);
- DestroyObject(sobj1[4]);
- DestroyObject(sobj1[5]);
- DestroyObject(sobj1[6]);
- DestroyObject(sobj1[7]);
- DestroyObject(sobj1[8]);
- DestroyObject(sobj1[9]);
- DestroyObject(sobj1[10]);
- DestroyObject(sobj1[11]);
- DestroyObject(sobj1[12]);
- DestroyObject(sobj1[13]);
- DestroyObject(sobj1[14]);
- DestroyObject(sobj1[15]);
- DestroyObject(sobj1[16]);
- DestroyObject(sobj1[17]);
- DestroyObject(sobj1[18]);
- DestroyObject(sobj1[19]);
- DestroyObject(sobj1[20]);
- DestroyObject(sobj1[21]);
- DestroyObject(sobj1[22]);
- DestroyObject(sobj1[23]);
- DestroyObject(sobj1[24]);
- DestroyObject(sobj1[25]);
- DestroyObject(sobj1[26]);
- DestroyObject(sobj2[0]);
- DestroyObject(sobj2[1]);
- DestroyObject(sobj3[0]);
- DestroyObject(sobj3[1]);
- DestroyObject(sobj3[2]);
- DestroyObject(sobj3[3]);
- DestroyObject(sobj3[4]);
- DestroyObject(sobj3[5]);
- DestroyObject(sobj3[6]);
- DestroyObject(sobj3[7]);
- DestroyObject(sobj3[8]);
- DestroyObject(sobj3[9]);
- DestroyObject(sobj3[10]);
- DestroyObject(sobj3[11]);
- DestroyObject(sobj3[12]);
- DestroyObject(sobj3[13]);
- DestroyObject(sobj3[14]);
- DestroyObject(sobj3[15]);
- DestroyObject(sobj3[16]);
- DestroyObject(sobj3[17]);
- DestroyObject(sobj3[18]);
- DestroyObject(sobj3[19]);
- DestroyObject(sobj3[20]);
- DestroyObject(sobj3[21]);
- DestroyObject(sobj3[22]);
- DestroyObject(sobj3[23]);
- DestroyObject(sobj3[24]);
- DestroyObject(sobj3[25]);
- DestroyObject(sobj3[26]);
- DestroyObject(sobj3[27]);
- DestroyObject(sobj3[28]);
- DestroyObject(sobj3[29]);
- DestroyObject(sobj3[30]);
- DestroyObject(sobj3[31]);
- DestroyObject(sobj3[32]);
- DestroyObject(sobj3[33]);
- DestroyObject(sobj3[34]);
- DestroyObject(sobj3[35]);
- DestroyObject(sobj3[36]);
- DestroyObject(sobj3[37]);
- DestroyObject(sobj3[38]);
- DestroyObject(sobj3[39]);
- DestroyObject(sobj3[40]);
- DestroyObject(sobj3[41]);
- DestroyObject(sobj3[42]);
- DestroyObject(sobj3[43]);
- DestroyObject(sobj3[44]);
- DestroyObject(sobj3[45]);
- DestroyObject(sobj3[46]);
- DestroyObject(sobj3[47]);
- DestroyObject(sobj3[48]);
- DestroyObject(sobj3[49]);
- DestroyObject(sobj3[50]);
- DestroyObject(sobj3[51]);
- DestroyObject(sobj3[52]);
- DestroyObject(sobj3[53]);
- DestroyObject(sobj3[54]);
- DestroyObject(sobj3[55]);
- DestroyObject(sobj3[56]);
- DestroyObject(sobj3[57]);
- }
- vehi[playerid] = CreateVehicle(578, x,y,z,a, -1, -1, -1);
- sobj[0] = CreateObject(3095, -0.06, -2.09, -0.76, 0.00, 0.00, 0.00);
- sobj[1] = CreateObject(970, 2.09, -6.50, 0.34, 0.00, 0.00, 0.00);
- sobj[2] = CreateObject(970, -4.50, 0.21, 0.34, 0.00, 0.00, 90.00);
- sobj[3] = CreateObject(970, 4.37, -2.90, 0.34, 0.00, 0.00, 90.00);
- sobj[4] = CreateObject(970, -4.50, -2.90, 0.34, 0.00, 0.00, 90.00);
- sobj[5] = CreateObject(970, 4.37, 0.21, 0.34, 0.00, 0.00, 90.00);
- sobj[6] = CreateObject(970, -2.46, 2.26, 0.34, 0.00, 0.00, 0.00);
- sobj[7] = CreateObject(970, 2.30, 2.26, 0.34, 0.00, 0.00, 0.00);
- sobj[8] = CreateObject(16151, 0.26, 1.19, 0.13, 0.00, 0.00, 90.00);
- sobj[9] = CreateObject(1281, -3.23, -3.63, 0.58, 0.00, 0.00, 0.00);
- sobj[10] = CreateObject(2639, 0.15, -6.08, 0.28, 0.00, 0.00, 0.00);
- sobj[11] = CreateObject(11665, 2.77, -3.43, 0.48, 0.00, 0.00, 0.00);
- sobj[12] = CreateObject(2010, 3.51, -6.28, -0.22, 0.00, 0.00, 0.00);
- sobj[13] = CreateObject(2010, -3.38, -6.24, -0.22, 0.00, 0.00, 0.00);
- sobj[14] = CreateObject(970, -2.37, -6.50, 0.34, 0.00, 0.00, 0.00);
- AttachObjectToVehicle(sobj[0],vehi[playerid],-0.06, -2.09, -0.76,0,0,0);
- AttachObjectToVehicle(sobj[1],vehi[playerid],2.09, -6.50, 0.34, 0,0,0);
- AttachObjectToVehicle(sobj[2],vehi[playerid],-4.50, 0.21, 0.34, 0,0,90);
- AttachObjectToVehicle(sobj[3],vehi[playerid],4.37, -2.90, 0.34, 0.00, 0.00, 90.00);
- AttachObjectToVehicle(sobj[4],vehi[playerid],-4.50, -2.90, 0.34, 0.00, 0.00, 90.00);
- AttachObjectToVehicle(sobj[5],vehi[playerid],4.37, 0.21, 0.34, 0.00, 0.00, 90.00);
- AttachObjectToVehicle(sobj[6],vehi[playerid],-2.46, 2.26, 0.34, 0.00, 0.00, 0.00);
- AttachObjectToVehicle(sobj[7],vehi[playerid],2.30, 2.26, 0.34, 0.00, 0.00, 0.00);
- AttachObjectToVehicle(sobj[8],vehi[playerid],0.26, 1.19, 0.13, 0.00, 0.00, 90.00);
- AttachObjectToVehicle(sobj[9],vehi[playerid],-3.23, -3.63, 0.58, 0.00, 0.00, 0.00);
- AttachObjectToVehicle(sobj[10],vehi[playerid],0.15, -6.08, 0.28, 0.00, 0.00, 0.00);
- AttachObjectToVehicle(sobj[11],vehi[playerid],2.77, -3.43, 0.48, 0.00, 0.00, 0.00);
- AttachObjectToVehicle(sobj[12],vehi[playerid],3.51, -6.28, -0.22, 0.00, 0.00, 0.00);
- AttachObjectToVehicle(sobj[13],vehi[playerid],-3.38, -6.24, -0.22, 0.00, 0.00, 0.00);
- AttachObjectToVehicle(sobj[14],vehi[playerid],-2.37, -6.50, 0.34, 0.00, 0.00, 0.00);
- GameTextForPlayer(playerid,"~y~Special Vehicle~n~~b~DFT-300~n~~g~Spawned",3000,5);
- PutPlayerInVehicle(playerid,vehi[playerid],0);
- return 1;
- }
- if(listitem == 1)
- {
- if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER || GetPlayerState(playerid) == PLAYER_STATE_ONFOOT)
- {
- if(vehi[playerid] != 0) DestroyVehicle(vehi[playerid]);
- DestroyObject(sobj[0]);
- DestroyObject(sobj[1]);
- DestroyObject(sobj[2]);
- DestroyObject(sobj[3]);
- DestroyObject(sobj[4]);
- DestroyObject(sobj[5]);
- DestroyObject(sobj[6]);
- DestroyObject(sobj[7]);
- DestroyObject(sobj[8]);
- DestroyObject(sobj[9]);
- DestroyObject(sobj[10]);
- DestroyObject(sobj[11]);
- DestroyObject(sobj[12]);
- DestroyObject(sobj[13]);
- DestroyObject(sobj[14]);
- DestroyObject(sobj2[0]);
- DestroyObject(sobj2[1]);
- DestroyObject(sobj3[0]);
- DestroyObject(sobj3[1]);
- DestroyObject(sobj3[2]);
- DestroyObject(sobj3[3]);
- DestroyObject(sobj3[4]);
- DestroyObject(sobj3[5]);
- DestroyObject(sobj3[6]);
- DestroyObject(sobj3[7]);
- DestroyObject(sobj3[8]);
- DestroyObject(sobj3[9]);
- DestroyObject(sobj3[10]);
- DestroyObject(sobj3[11]);
- DestroyObject(sobj3[12]);
- DestroyObject(sobj3[13]);
- DestroyObject(sobj3[14]);
- DestroyObject(sobj3[15]);
- DestroyObject(sobj3[16]);
- DestroyObject(sobj3[17]);
- DestroyObject(sobj3[18]);
- DestroyObject(sobj3[19]);
- DestroyObject(sobj3[20]);
- DestroyObject(sobj3[21]);
- DestroyObject(sobj3[22]);
- DestroyObject(sobj3[23]);
- DestroyObject(sobj3[24]);
- DestroyObject(sobj3[25]);
- DestroyObject(sobj3[26]);
- DestroyObject(sobj3[27]);
- DestroyObject(sobj3[28]);
- DestroyObject(sobj3[29]);
- DestroyObject(sobj3[30]);
- DestroyObject(sobj3[31]);
- DestroyObject(sobj3[32]);
- DestroyObject(sobj3[33]);
- DestroyObject(sobj3[34]);
- DestroyObject(sobj3[35]);
- DestroyObject(sobj3[36]);
- DestroyObject(sobj3[37]);
- DestroyObject(sobj3[38]);
- DestroyObject(sobj3[39]);
- DestroyObject(sobj3[40]);
- DestroyObject(sobj3[41]);
- DestroyObject(sobj3[42]);
- DestroyObject(sobj3[43]);
- DestroyObject(sobj3[44]);
- DestroyObject(sobj3[45]);
- DestroyObject(sobj3[46]);
- DestroyObject(sobj3[47]);
- DestroyObject(sobj3[48]);
- DestroyObject(sobj3[49]);
- DestroyObject(sobj3[50]);
- DestroyObject(sobj3[51]);
- DestroyObject(sobj3[52]);
- DestroyObject(sobj3[53]);
- DestroyObject(sobj3[54]);
- DestroyObject(sobj3[55]);
- DestroyObject(sobj3[56]);
- DestroyObject(sobj3[57]);
- }
- vehi[playerid] = CreateVehicle(515, x,y,z,a, -1, -1, -1);
- sobj1[0] = CreateObject(19462,0.00000000,-8.72000000,2.41000000,0.00000000,90.00000000,0.00000000);
- sobj1[1] = CreateObject(19462,-1.71000000,-8.72000000,0.66000000,0.00000000,0.00000000,0.00000000);
- sobj1[2] = CreateObject(19462,1.76000000,-8.72000000,0.66000000,0.00000000,0.00000000,0.00000000);
- sobj1[3] = CreateObject(19462,0.00000000,-8.72000000,-0.72000000,0.00000000,90.00000000,0.00000000);
- sobj1[4] = CreateObject(19443,0.65000000,-3.88000000,0.66000000,0.00000000,0.00000000,90.00000000);
- sobj1[5] = CreateObject(19443,-0.96000000,-3.88000000,0.66000000,0.00000000,0.00000000,90.00000000);
- sobj1[6] = CreateObject(19443,0.98000000,-3.88000000,0.66000000,0.00000000,0.00000000,90.00000000);
- sobj1[7] = CreateObject(19443,-1.01000000,-13.48000000,0.66000000,0.00000000,0.00000000,90.00000000);
- sobj1[8] = CreateObject(2008,-1.13000000,-4.49000000,-0.66000000,0.00000000,0.00000000,0.00000000);
- sobj1[9] = CreateObject(3392,-1.07000000,-7.80000000,-0.64000000,0.00000000,0.00000000,180.00000000);
- sobj1[10] = CreateObject(3393,-1.06000000,-11.35000000,-0.64000000,0.00000000,0.00000000,180.00000000);
- sobj1[11] = CreateObject(2700,-1.35000000,-7.27000000,1.68000000,0.00000000,0.00000000,0.00000000);
- sobj1[12] = CreateObject(2700,-1.35000000,-7.92000000,1.68000000,0.00000000,0.00000000,0.00000000);
- sobj1[13] = CreateObject(2700,-1.35000000,-8.56000000,1.68000000,0.00000000,0.00000000,0.00000000);
- sobj1[14] = CreateObject(2700,-1.35000000,-9.19000000,1.68000000,0.00000000,0.00000000,0.00000000);
- sobj1[15] = CreateObject(2700,-1.35000000,-9.81000000,1.68000000,0.00000000,0.00000000,0.00000000);
- sobj1[16] = CreateObject(2700,-1.35000000,-10.43000000,1.68000000,0.00000000,0.00000000,0.00000000);
- sobj1[17] = CreateObject(2700,-1.35000000,-11.05000000,1.68000000,0.00000000,0.00000000,0.00000000);
- sobj1[18] = CreateObject(1671,0.02000000,-7.56000000,-0.22000000,0.00000000,0.00000000,270.00000000);
- sobj1[19] = CreateObject(1671,0.01000000,-8.70000000,-0.22000000,0.00000000,0.00000000,270.00000000);
- sobj1[20] = CreateObject(1671,0.15000000,-11.00000000,-0.22000000,0.00000000,0.00000000,270.00000000);
- sobj1[21] = CreateObject(1671,0.22000000,-12.02000000,-0.22000000,0.00000000,0.00000000,270.00000000);
- sobj1[22] = CreateObject(1671,-0.13000000,-5.01000000,-0.22000000,0.00000000,0.00000000,180.00000000);
- sobj1[23] = CreateObject(1096,-1.70000000,-12.85000000,-1.54000000,0.00000000,0.00000000,180.00000000);
- sobj1[24] = CreateObject(1096,-1.42000000,-12.85000000,-1.54000000,0.00000000,0.00000000,180.00000000);
- sobj1[25] = CreateObject(1096,1.72000000,-12.85000000,-1.54000000,0.00000000,0.00000000,0.00000000);
- sobj1[26] = CreateObject(1096,1.44000000,-12.85000000,-1.54000000,0.00000000,0.00000000,0.00000000);
- AttachObjectToVehicle(sobj1[0],vehi[playerid],0.00000000,-8.72000000,2.41000000,0.00000000,90.00000000,0.00000000);
- AttachObjectToVehicle(sobj1[1],vehi[playerid],-1.71000000,-8.72000000,0.66000000,0.00000000,0.00000000,0.00000000);
- AttachObjectToVehicle(sobj1[2],vehi[playerid],1.76000000,-8.72000000,0.66000000,0.00000000,0.00000000,0.00000000);
- AttachObjectToVehicle(sobj1[3],vehi[playerid],0.00000000,-8.72000000,-0.72000000,0.00000000,90.00000000,0.00000000);
- AttachObjectToVehicle(sobj1[4],vehi[playerid],0.65000000,-3.88000000,0.66000000,0.00000000,0.00000000,90.00000000);
- AttachObjectToVehicle(sobj1[5],vehi[playerid],-0.96000000,-3.88000000,0.66000000,0.00000000,0.00000000,90.00000000);
- AttachObjectToVehicle(sobj1[6],vehi[playerid],0.98000000,-3.88000000,0.66000000,0.00000000,0.00000000,90.00000000);
- AttachObjectToVehicle(sobj1[7],vehi[playerid],-1.01000000,-13.48000000,0.66000000,0.00000000,0.00000000,90.00000000);
- AttachObjectToVehicle(sobj1[8],vehi[playerid],-1.13000000,-4.49000000,-0.66000000,0.00000000,0.00000000,0.00000000);
- AttachObjectToVehicle(sobj1[9],vehi[playerid],-1.07000000,-7.80000000,-0.64000000,0.00000000,0.00000000,180.00000000);
- AttachObjectToVehicle(sobj1[10],vehi[playerid],-1.06000000,-11.35000000,-0.64000000,0.00000000,0.00000000,180.00000000);
- AttachObjectToVehicle(sobj1[11],vehi[playerid],-1.35000000,-7.27000000,1.68000000,0.00000000,0.00000000,0.00000000);
- AttachObjectToVehicle(sobj1[12],vehi[playerid],-1.35000000,-7.92000000,1.68000000,0.00000000,0.00000000,0.00000000);
- AttachObjectToVehicle(sobj1[13],vehi[playerid],-1.35000000,-8.56000000,1.68000000,0.00000000,0.00000000,0.00000000);
- AttachObjectToVehicle(sobj1[14],vehi[playerid],-1.35000000,-9.19000000,1.68000000,0.00000000,0.00000000,0.00000000);
- AttachObjectToVehicle(sobj1[15],vehi[playerid],-1.35000000,-9.81000000,1.68000000,0.00000000,0.00000000,0.00000000);
- AttachObjectToVehicle(sobj1[16],vehi[playerid],-1.35000000,-10.43000000,1.68000000,0.00000000,0.00000000,0.00000000);
- AttachObjectToVehicle(sobj1[17],vehi[playerid],-1.35000000,-11.05000000,1.68000000,0.00000000,0.00000000,0.00000000);
- AttachObjectToVehicle(sobj1[18],vehi[playerid],0.02000000,-7.56000000,-0.22000000,0.00000000,0.00000000,270.00000000);
- AttachObjectToVehicle(sobj1[19],vehi[playerid],0.01000000,-8.70000000,-0.22000000,0.00000000,0.00000000,270.00000000);
- AttachObjectToVehicle(sobj1[20],vehi[playerid],0.15000000,-11.00000000,-0.22000000,0.00000000,0.00000000,270.00000000);
- AttachObjectToVehicle(sobj1[21],vehi[playerid],0.22000000,-12.02000000,-0.22000000,0.00000000,0.00000000,270.00000000);
- AttachObjectToVehicle(sobj1[22],vehi[playerid],-0.13000000,-5.01000000,-0.22000000,0.00000000,0.00000000,180.00000000);
- AttachObjectToVehicle(sobj1[23],vehi[playerid],-1.70000000,-12.85000000,-1.54000000,0.00000000,0.00000000,180.00000000);
- AttachObjectToVehicle(sobj1[24],vehi[playerid],-1.42000000,-12.85000000,-1.54000000,0.00000000,0.00000000,180.00000000);
- AttachObjectToVehicle(sobj1[25],vehi[playerid],1.72000000,-12.85000000,-1.54000000,0.00000000,0.00000000,0.00000000);
- AttachObjectToVehicle(sobj1[26],vehi[playerid],1.44000000,-12.85000000,-1.54000000,0.00000000,0.00000000,0.00000000);
- GameTextForPlayer(playerid,"~y~Special Vehicle~n~~b~RoadTrain~n~~g~Spawned",3000,5);
- PutPlayerInVehicle(playerid,vehi[playerid],0);
- return 1;
- }
- if(listitem == 2)
- {
- if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER || GetPlayerState(playerid) == PLAYER_STATE_ONFOOT)
- {
- if(vehi[playerid] != 0) DestroyVehicle(vehi[playerid]);
- DestroyObject(sobj1[0]);
- DestroyObject(sobj1[1]);
- DestroyObject(sobj1[2]);
- DestroyObject(sobj1[3]);
- DestroyObject(sobj1[4]);
- DestroyObject(sobj1[5]);
- DestroyObject(sobj1[6]);
- DestroyObject(sobj1[7]);
- DestroyObject(sobj1[8]);
- DestroyObject(sobj1[9]);
- DestroyObject(sobj1[10]);
- DestroyObject(sobj1[11]);
- DestroyObject(sobj1[12]);
- DestroyObject(sobj1[13]);
- DestroyObject(sobj1[14]);
- DestroyObject(sobj1[15]);
- DestroyObject(sobj1[16]);
- DestroyObject(sobj1[17]);
- DestroyObject(sobj1[18]);
- DestroyObject(sobj1[19]);
- DestroyObject(sobj1[20]);
- DestroyObject(sobj1[21]);
- DestroyObject(sobj1[22]);
- DestroyObject(sobj1[23]);
- DestroyObject(sobj1[24]);
- DestroyObject(sobj1[25]);
- DestroyObject(sobj1[26]);
- DestroyObject(sobj[0]);
- DestroyObject(sobj[1]);
- DestroyObject(sobj[2]);
- DestroyObject(sobj[3]);
- DestroyObject(sobj[4]);
- DestroyObject(sobj[5]);
- DestroyObject(sobj[6]);
- DestroyObject(sobj[7]);
- DestroyObject(sobj[8]);
- DestroyObject(sobj[9]);
- DestroyObject(sobj[10]);
- DestroyObject(sobj[11]);
- DestroyObject(sobj[12]);
- DestroyObject(sobj[13]);
- DestroyObject(sobj[14]);
- DestroyObject(sobj3[0]);
- DestroyObject(sobj3[1]);
- DestroyObject(sobj3[2]);
- DestroyObject(sobj3[3]);
- DestroyObject(sobj3[4]);
- DestroyObject(sobj3[5]);
- DestroyObject(sobj3[6]);
- DestroyObject(sobj3[7]);
- DestroyObject(sobj3[8]);
- DestroyObject(sobj3[9]);
- DestroyObject(sobj3[10]);
- DestroyObject(sobj3[11]);
- DestroyObject(sobj3[12]);
- DestroyObject(sobj3[13]);
- DestroyObject(sobj3[14]);
- DestroyObject(sobj3[15]);
- DestroyObject(sobj3[16]);
- DestroyObject(sobj3[17]);
- DestroyObject(sobj3[18]);
- DestroyObject(sobj3[19]);
- DestroyObject(sobj3[20]);
- DestroyObject(sobj3[21]);
- DestroyObject(sobj3[22]);
- DestroyObject(sobj3[23]);
- DestroyObject(sobj3[24]);
- DestroyObject(sobj3[25]);
- DestroyObject(sobj3[26]);
- DestroyObject(sobj3[27]);
- DestroyObject(sobj3[28]);
- DestroyObject(sobj3[29]);
- DestroyObject(sobj3[30]);
- DestroyObject(sobj3[31]);
- DestroyObject(sobj3[32]);
- DestroyObject(sobj3[33]);
- DestroyObject(sobj3[34]);
- DestroyObject(sobj3[35]);
- DestroyObject(sobj3[36]);
- DestroyObject(sobj3[37]);
- DestroyObject(sobj3[38]);
- DestroyObject(sobj3[39]);
- DestroyObject(sobj3[40]);
- DestroyObject(sobj3[41]);
- DestroyObject(sobj3[42]);
- DestroyObject(sobj3[43]);
- DestroyObject(sobj3[44]);
- DestroyObject(sobj3[45]);
- DestroyObject(sobj3[46]);
- DestroyObject(sobj3[47]);
- DestroyObject(sobj3[48]);
- DestroyObject(sobj3[49]);
- DestroyObject(sobj3[50]);
- DestroyObject(sobj3[51]);
- DestroyObject(sobj3[52]);
- DestroyObject(sobj3[53]);
- DestroyObject(sobj3[54]);
- DestroyObject(sobj3[55]);
- DestroyObject(sobj3[56]);
- DestroyObject(sobj3[57]);
- }
- vehi[playerid] = CreateVehicle(519, x,y,z,a, -1, -1, -1);
- sobj2[0] = CreateObject(3095, 0.16, -11.86, 2.87, 0.00, 180.00, 0.00);
- sobj2[1] = CreateObject(3399, 0.11, -2.93, 0.80, 0.00, 0.00, 270.00);
- AttachObjectToVehicle(sobj2[0],vehi[playerid],0.16, -11.86, 2.87, 0.00, 180.00, 0.00);
- AttachObjectToVehicle(sobj2[1],vehi[playerid],0.11, -2.93, 0.80, 0.00, 0.00, 270.00);
- GameTextForPlayer(playerid,"~y~Special Vehicle~n~~b~Shamal~n~~g~Spawned",3000,5);
- PutPlayerInVehicle(playerid,vehi[playerid],0);
- return 1;
- }
- if(listitem == 3)
- {
- if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER || GetPlayerState(playerid) == PLAYER_STATE_ONFOOT)
- {
- if(vehi[playerid] != 0) DestroyVehicle(vehi[playerid]);
- DestroyObject(sobj[0]);
- DestroyObject(sobj[1]);
- DestroyObject(sobj[2]);
- DestroyObject(sobj[3]);
- DestroyObject(sobj[4]);
- DestroyObject(sobj[5]);
- DestroyObject(sobj[6]);
- DestroyObject(sobj[7]);
- DestroyObject(sobj[8]);
- DestroyObject(sobj[9]);
- DestroyObject(sobj[10]);
- DestroyObject(sobj[11]);
- DestroyObject(sobj[12]);
- DestroyObject(sobj[13]);
- DestroyObject(sobj[14]);
- DestroyObject(sobj2[0]);
- DestroyObject(sobj2[1]);
- DestroyObject(sobj1[0]);
- DestroyObject(sobj1[1]);
- DestroyObject(sobj1[2]);
- DestroyObject(sobj1[3]);
- DestroyObject(sobj1[4]);
- DestroyObject(sobj1[5]);
- DestroyObject(sobj1[6]);
- DestroyObject(sobj1[7]);
- DestroyObject(sobj1[8]);
- DestroyObject(sobj1[9]);
- DestroyObject(sobj1[10]);
- DestroyObject(sobj1[11]);
- DestroyObject(sobj1[12]);
- DestroyObject(sobj1[13]);
- DestroyObject(sobj1[14]);
- DestroyObject(sobj1[15]);
- DestroyObject(sobj1[16]);
- DestroyObject(sobj1[17]);
- DestroyObject(sobj1[18]);
- DestroyObject(sobj1[19]);
- DestroyObject(sobj1[20]);
- DestroyObject(sobj1[21]);
- DestroyObject(sobj1[22]);
- DestroyObject(sobj1[23]);
- DestroyObject(sobj1[24]);
- DestroyObject(sobj1[25]);
- DestroyObject(sobj1[26]);
- }
- new vehicleid = CreateVehicle(454, x,y,z,a, -1, -1, -1);
- sobj3[0] = CreateObject(14877, -0.15, -9.24, 2.47, 0.00, 0.00, 270.00) ;
- sobj3[1] = CreateObject(19446, -0.20, -11.69, 4.50, 0.00, 90.00, 90.00) ;
- sobj3[2] = CreateObject(19446, -0.20, -15.17, 4.50, 0.00, 90.00, 90.00) ;
- sobj3[3] = CreateObject(19446, -0.20, -18.64, 4.50, 0.00, 90.00, 90.00) ;
- sobj3[4] = CreateObject(19354, 6.22, -18.64, 4.50, 0.00, 90.00, 90.00) ;
- sobj3[5] = CreateObject(19354, 6.22, -15.17, 4.50, 0.00, 90.00, 90.00) ;
- sobj3[6] = CreateObject(19354, 6.22, -11.69, 4.50, 0.00, 90.00, 90.00) ;
- sobj3[7] = CreateObject(19354, -6.63, -11.69, 4.50, 0.00, 90.00, 90.00) ;
- sobj3[8] = CreateObject(19354, -6.63, -15.17, 4.50, 0.00, 90.00, 90.00) ;
- sobj3[9] = CreateObject(19354, -6.63, -18.64, 4.50, 0.00, 90.00, 90.00) ;
- sobj3[10] = CreateObject(970, -6.11, -20.35, 5.08, 0.00, 0.00, 0.00) ;
- sobj3[11] = CreateObject(970, 1.56, -20.35, 5.08, 0.00, 0.00, 0.00) ;
- sobj3[12] = CreateObject(970, 5.73, -20.35, 5.08, 0.00, 0.00, 0.00) ;
- sobj3[13] = CreateObject(19354, -2.29, -21.62, 5.13, -25.00, 90.00, 0.00) ;
- sobj3[14] = CreateObject(19446, -2.38, -24.76, 5.80, 0.00, 90.00, 90.00) ;
- sobj3[15] = CreateObject(19446, -2.38, -26.43, 7.48, 0.00, 0.00, 90.00) ;
- sobj3[16] = CreateObject(16151, -1.85, -25.30, 6.18, 0.00, 0.00, 270.00) ;
- sobj3[17] = CreateObject(970, -5.07, -23.06, 6.43, 0.00, 0.00, 0.00) ;
- sobj3[18] = CreateObject(970, 0.27, -23.06, 6.43, 0.00, 0.00, 0.00) ;
- sobj3[19] = CreateObject(19354, -7.14, -24.73, 7.38, 90.00, 0.00, 0.00) ;
- sobj3[20] = CreateObject(19354, 2.44, -24.68, 7.38, 90.00, 0.00, 0.00) ;
- sobj3[21] = CreateObject(970, 7.78, -18.25, 5.08, 0.00, 0.00, 90.00) ;
- sobj3[22] = CreateObject(970, 7.78, -14.10, 5.08, 0.00, 0.00, 90.00) ;
- sobj3[23] = CreateObject(970, 7.78, -12.11, 5.08, 0.00, 0.00, 90.00) ;
- sobj3[24] = CreateObject(970, -8.19, -18.25, 5.08, 0.00, 0.00, 90.00) ;
- sobj3[25] = CreateObject(970, -8.19, -14.11, 5.08, 0.00, 0.00, 90.00) ;
- sobj3[26] = CreateObject(970, -8.19, -12.07, 5.08, 0.00, 0.00, 90.00) ;
- sobj3[27] = CreateObject(970, 5.70, -10.06, 5.08, 0.00, 0.00, 0.00) ;
- sobj3[28] = CreateObject(970, 3.43, -10.06, 5.08, 0.00, 0.00, 0.00) ;
- sobj3[29] = CreateObject(970, -3.72, -10.06, 5.08, 0.00, 0.00, 0.00) ;
- sobj3[30] = CreateObject(970, -6.13, -10.06, 5.08, 0.00, 0.00, 0.00) ;
- sobj3[31] = CreateObject(1281, 6.05, -11.65, 5.37, 0.00, 0.00, 0.00) ;
- sobj3[32] = CreateObject(1281, 5.85, -15.05, 5.37, 0.00, 0.00, 0.00) ;
- sobj3[33] = CreateObject(1281, 5.66, -18.36, 5.37, 0.00, 0.00, 0.00) ;
- sobj3[34] = CreateObject(2204, -8.21, -16.13, 4.84, 90.00, 0.00, 90.00) ;
- sobj3[35] = CreateObject(2204, -8.21, -13.19, 4.84, 90.00, 0.00, 90.00) ;
- sobj3[36] = CreateObject(1824, 1.63, -13.12, 5.08, 0.00, 0.00, 90.00) ;
- sobj3[37] = CreateObject(2964, 1.63, -16.91, 4.56, 0.00, 0.00, 90.00) ;
- sobj3[38] = CreateObject(3004, 2.00, -17.35, 5.44, 0.00, 0.00, 0.00) ;
- sobj3[39] = CreateObject(3004, 1.55, -17.27, 5.44, 0.00, 0.00, 0.00) ;
- sobj3[40] = CreateObject(1645, -5.32, -19.38, 4.80, 0.00, 0.00, 270.00) ;
- sobj3[41] = CreateObject(1645, -5.33, -18.48, 4.80, 0.00, 0.00, 270.00) ;
- sobj3[42] = CreateObject(1645, -5.36, -17.50, 4.80, 0.00, 0.00, 270.00) ;
- sobj3[43] = CreateObject(2315, -7.34, -19.25, 4.56, 0.00, 0.00, 90.00) ;
- sobj3[44] = CreateObject(19128, -3.72, -13.61, 4.56, 0.00, 0.00, 0.00) ;
- sobj3[45] = CreateObject(2010, -1.82, -10.39, 4.58, 0.00, 0.00, 0.00) ;
- sobj3[46] = CreateObject(2010, 1.58, -10.43, 4.58, 0.00, 0.00, 0.00) ;
- sobj3[47] = CreateObject(912, -6.84, -12.64, 5.42, 0.00, 0.00, 270.00) ;
- sobj3[48] = CreateObject(912, -6.84, -14.06, 5.42, 0.00, 0.00, 270.00) ;
- sobj3[49] = CreateObject(1790, -6.85, -12.60, 5.66, 0.00, 0.00, 270.00) ;
- sobj3[50] = CreateObject(1790, -6.86, -14.07, 5.66, 0.00, 0.00, 270.00) ;
- sobj3[51] = CreateObject(1788, -6.90, -14.44, 6.28, 0.00, 0.00, 270.00) ;
- sobj3[52] = CreateObject(1785, -6.92, -14.43, 6.10, 0.00, 0.00, 270.00) ;
- sobj3[53] = CreateObject(1809, -6.81, -15.24, 4.88, 0.00, 0.00, 270.00) ;
- sobj3[54] = CreateObject(1841, -6.80, -15.20, 5.43, 0.00, 0.00, 180.00) ;
- sobj3[55] = CreateObject(1841, -6.77, -11.44, 4.91, 0.00, 0.00, 180.00) ;
- sobj3[56] = CreateObject(1841, -6.77, -11.44, 5.37, 0.00, 0.00, 180.00) ;
- sobj3[57] = CreateObject(14820, -6.81, -13.07, 6.10, 0.00, 0.00, 90.00) ;
- AttachObjectToVehicle(sobj3[0],vehicleid, -0.15, -9.24, 2.47, 0.00, 0.00, 270.00);
- AttachObjectToVehicle(sobj3[1],vehicleid, -0.20, -11.69, 4.50, 0.00, 90.00, 90.00);
- AttachObjectToVehicle(sobj3[2],vehicleid, -0.20, -15.17, 4.50, 0.00, 90.00, 90.00);
- AttachObjectToVehicle(sobj3[3],vehicleid, -0.20, -18.64, 4.50, 0.00, 90.00, 90.00);
- AttachObjectToVehicle(sobj3[4],vehicleid, 6.22, -18.64, 4.50, 0.00, 90.00, 90.00);
- AttachObjectToVehicle(sobj3[5],vehicleid, 6.22, -15.17, 4.50, 0.00, 90.00, 90.00);
- AttachObjectToVehicle(sobj3[6],vehicleid, 6.22, -11.69, 4.50, 0.00, 90.00, 90.00);
- AttachObjectToVehicle(sobj3[7],vehicleid, -6.63, -11.69, 4.50, 0.00, 90.00, 90.00);
- AttachObjectToVehicle(sobj3[8],vehicleid, -6.63, -15.17, 4.50, 0.00, 90.00, 90.00);
- AttachObjectToVehicle(sobj3[9],vehicleid, -6.63, -18.64, 4.50, 0.00, 90.00, 90.00);
- AttachObjectToVehicle(sobj3[10],vehicleid, -6.11, -20.35, 5.08, 0.00, 0.00, 0.00);
- AttachObjectToVehicle(sobj3[11],vehicleid, 1.56, -20.35, 5.08, 0.00, 0.00, 0.00);
- AttachObjectToVehicle(sobj3[12],vehicleid, 5.73, -20.35, 5.08, 0.00, 0.00, 0.00);
- AttachObjectToVehicle(sobj3[13],vehicleid, -2.29, -21.62, 5.13, -25.00, 90.00, 0.00);
- AttachObjectToVehicle(sobj3[14],vehicleid, -2.38, -24.76, 5.80, 0.00, 90.00, 90.00);
- AttachObjectToVehicle(sobj3[15],vehicleid, -2.38, -26.43, 7.48, 0.00, 0.00, 90.00);
- AttachObjectToVehicle(sobj3[16],vehicleid, -1.85, -25.30, 6.18, 0.00, 0.00, 270.00);
- AttachObjectToVehicle(sobj3[17],vehicleid, -5.07, -23.06, 6.43, 0.00, 0.00, 0.00);
- AttachObjectToVehicle(sobj3[18],vehicleid, 0.27, -23.06, 6.43, 0.00, 0.00, 0.00);
- AttachObjectToVehicle(sobj3[19],vehicleid, -7.14, -24.73, 7.38, 90.00, 0.00, 0.00);
- AttachObjectToVehicle(sobj3[20],vehicleid, 2.44, -24.68, 7.38, 90.00, 0.00, 0.00);
- AttachObjectToVehicle(sobj3[21],vehicleid, 7.78, -18.25, 5.08, 0.00, 0.00, 90.00);
- AttachObjectToVehicle(sobj3[22],vehicleid, 7.78, -14.10, 5.08, 0.00, 0.00, 90.00);
- AttachObjectToVehicle(sobj3[23],vehicleid, 7.78, -12.11, 5.08, 0.00, 0.00, 90.00);
- AttachObjectToVehicle(sobj3[24],vehicleid, -8.19, -18.25, 5.08, 0.00, 0.00, 90.00);
- AttachObjectToVehicle(sobj3[25],vehicleid, -8.19, -14.11, 5.08, 0.00, 0.00, 90.00);
- AttachObjectToVehicle(sobj3[26],vehicleid, -8.19, -12.07, 5.08, 0.00, 0.00, 90.00);
- AttachObjectToVehicle(sobj3[27],vehicleid, 5.70, -10.06, 5.08, 0.00, 0.00, 0.00);
- AttachObjectToVehicle(sobj3[28],vehicleid, 3.43, -10.06, 5.08, 0.00, 0.00, 0.00);
- AttachObjectToVehicle(sobj3[29],vehicleid, -3.72, -10.06, 5.08, 0.00, 0.00, 0.00);
- AttachObjectToVehicle(sobj3[30],vehicleid, -6.13, -10.06, 5.08, 0.00, 0.00, 0.00);
- AttachObjectToVehicle(sobj3[31],vehicleid, 6.05, -11.65, 5.37, 0.00, 0.00, 0.00);
- AttachObjectToVehicle(sobj3[32],vehicleid, 5.85, -15.05, 5.37, 0.00, 0.00, 0.00);
- AttachObjectToVehicle(sobj3[33],vehicleid, 5.66, -18.36, 5.37, 0.00, 0.00, 0.00);
- AttachObjectToVehicle(sobj3[34],vehicleid, -8.21, -16.13, 4.84, 90.00, 0.00, 90.00);
- AttachObjectToVehicle(sobj3[35],vehicleid, -8.21, -13.19, 4.84, 90.00, 0.00, 90.00);
- AttachObjectToVehicle(sobj3[36],vehicleid, 1.63, -13.12, 5.08, 0.00, 0.00, 90.00);
- AttachObjectToVehicle(sobj3[37],vehicleid, 1.63, -16.91, 4.56, 0.00, 0.00, 90.00);
- AttachObjectToVehicle(sobj3[38],vehicleid, 2.00, -17.35, 5.44, 0.00, 0.00, 0.00);
- AttachObjectToVehicle(sobj3[39],vehicleid, 1.55, -17.27, 5.44, 0.00, 0.00, 0.00);
- AttachObjectToVehicle(sobj3[40],vehicleid, -5.32, -19.38, 4.80, 0.00, 0.00, 270.00);
- AttachObjectToVehicle(sobj3[41],vehicleid, -5.33, -18.48, 4.80, 0.00, 0.00, 270.00);
- AttachObjectToVehicle(sobj3[42],vehicleid, -5.36, -17.50, 4.80, 0.00, 0.00, 270.00);
- AttachObjectToVehicle(sobj3[43],vehicleid, -7.34, -19.25, 4.56, 0.00, 0.00, 90.00);
- AttachObjectToVehicle(sobj3[44],vehicleid, -3.72, -13.61, 4.56, 0.00, 0.00, 0.00);
- AttachObjectToVehicle(sobj3[45],vehicleid, -1.82, -10.39, 4.58, 0.00, 0.00, 0.00);
- AttachObjectToVehicle(sobj3[46],vehicleid, 1.58, -10.43, 4.58, 0.00, 0.00, 0.00);
- AttachObjectToVehicle(sobj3[47],vehicleid, -6.84, -12.64, 5.42, 0.00, 0.00, 270.00);
- AttachObjectToVehicle(sobj3[48],vehicleid, -6.84, -14.06, 5.42, 0.00, 0.00, 270.00);
- AttachObjectToVehicle(sobj3[49],vehicleid, -6.85, -12.60, 5.66, 0.00, 0.00, 270.00);
- AttachObjectToVehicle(sobj3[50],vehicleid, -6.86, -14.07, 5.66, 0.00, 0.00, 270.00);
- AttachObjectToVehicle(sobj3[51],vehicleid, -6.90, -14.44, 6.28, 0.00, 0.00, 270.00);
- AttachObjectToVehicle(sobj3[52],vehicleid, -6.92, -14.43, 6.10, 0.00, 0.00, 270.00);
- AttachObjectToVehicle(sobj3[53],vehicleid, -6.81, -15.24, 4.88, 0.00, 0.00, 270.00);
- AttachObjectToVehicle(sobj3[54],vehicleid, -6.80, -15.20, 5.43, 0.00, 0.00, 180.00);
- AttachObjectToVehicle(sobj3[55],vehicleid, -6.77, -11.44, 4.91, 0.00, 0.00, 180.00);
- AttachObjectToVehicle(sobj3[56],vehicleid, -6.77, -11.44, 5.37, 0.00, 0.00, 180.00);
- AttachObjectToVehicle(sobj3[57],vehicleid, -6.81, -13.07, 6.10, 0.00, 0.00, 90.00);
- GameTextForPlayer(playerid,"~y~Special Vehicle~n~~b~Tropic~n~~g~Spawned",3000,5);
- PutPlayerInVehicle(playerid,vehicleid,0);
- return 1;
- }
- return 1;
- }
- }
- }
- return 1;
- }
- #endif
Advertisement
Add Comment
Please, Sign In to add comment