24.10.2011, 10:09
I'm trying to link a bank van to Caligurs casino interior but it ain't showing up it shows up in interior 0 but not in the interior of caligurs i use LinkVehicleToInterior but it doesn't work i put it under OnGameModeInit and i tried on a FS but its spawning the bank truck but not linking it to the interior here is the Filterscript attempt
the Car = CreateVehicle(...); and LinkVehicleToInterior(Car, 1);
I've Double checked Caligurs Casino is in Interior ID 1 im sure of it i even used /Interior and it shows interior 1 at Caligurs but the Bank Van ain't showing here is a snippet of the Gamemode attempt
I've tried it Several times on the GM then moved it to a FS and it still don't work please help me i dont know the problem
pawn Код:
public OnFilterScriptInit()
{
print("\n--------------------------------------");
print(" Commands FilterScript for Pilots Heaven By [Nuclear]Cynder Loaded!");
print("--------------------------------------\n");
Door1 = CreateDynamicObject(17951, 2195.84, 1585.00, 999.50, 0.00, 0.00, 0.00);
Door2 = CreateDynamicObject(17951, 2195.84, 1585.00, 1001.45, 0.00, 0.00, 0.00);
Door3 = CreateDynamicObject(17951, 2214.87, 1584.95, 999.40, 0.00, 0.00, 0.00);
Door4 = CreateDynamicObject(17951, 2214.87, 1584.95, 1001.45, 0.00, 0.00, 0.00);
Car = CreateVehicle(428, 2181.4673, 1585.0962, 1000.0170, 270.0000, -1, -1, 100);
LinkVehicleToInterior(Car, 1);
return 1;
}
I've Double checked Caligurs Casino is in Interior ID 1 im sure of it i even used /Interior and it shows interior 1 at Caligurs but the Bank Van ain't showing here is a snippet of the Gamemode attempt
pawn Код:
public OnGameModeInit()
{
SetTimer("Loop", 1000, true);
SendRconCommand("hostname Pilots Heaven(0.3D RC6)");
SetGameModeText("Pilots Heaven(0.3D RC6)");
SendRconCommand("mapname Pilots Heaven(0.3D RC6)");
ShowPlayerMarkers(1);
ShowNameTags(1);
ConnectNPC("Buffalo_Joe_McBrian","Buffalo_Flight");
DisableInteriorEnterExits();
Servt=TextDrawCreate(545, 31, "00:00");
TextDrawColor(Servt, COLOR_WHITE);
Tsec= 0;
THrs= 0;
SetTimer("TimeU",1000,true);
SetTimer("BellaChat1",30000,true);
SetTimer("LoadVehicles",10000,false);
Buffalo_Nevada = CreateVehicle(553,0,0,0,0,86,1,0);
coverup = GangZoneCreate(2082.0449,1203.2681,2257.2510,1363.2435); // init()
AddPlayerClass(278,1724.0234, 2112.2253, 11.2368,0.0000,42,1000000,0,0,0,0);
AddPlayerClass(277,1740.3188, -1456.6414, 12.5213,90.0000,42,1000000,0,0,0,0);
AddPlayerClass(279,-2026.7561, 67.2634, 27.6268,270.0000,42,1000000,0,0,0,0);
AddPlayerClass(287,207.2867, 1864.4686, 12.0511,0.0000,31,1000000,32,1000000,34,1000000);
AddPlayerClass(280,1544.0514,-1675.7766,13.5577,98.0974,3,1000000,24,1000000,17,1000000); //Police Officer (1)
AddPlayerClass(61,1318.8021, 1254.4149, 9.7992,180.0000,0,0,0,0,0,0);
AddPlayerClass(61,-1259.3666, 28.7368, 13.1134,313.0000,0,0,0,0,0,0);
AddPlayerClass(61,1999.0896, -2420.7998, 12.5229,270.0000,0,0,0,0,0,0);
// Firemen Cars Fire_car[0]
Fire_car[0] = CreateVehicle(407, -2023.0052, 75.1058, 28.3132, 270.0000, -1, -1, 100);
Fire_car[1] = CreateVehicle(407, -2022.9772, 83.8721, 28.3132, 270.0000, -1, -1, 100);
Fire_car[2] = CreateVehicle(544, -2020.4542, 89.2169, 27.9221, 230.0000, -1, -1, 100);
Fire_car[3] = CreateVehicle(544, -2018.6594, 91.7429, 27.9221, 230.0000, -1, -1, 100);
Fire_car[4] = CreateVehicle(544, -2016.3098, 93.4432, 27.9221, 230.0000, -1, -1, 100);
Fire_car[5] = CreateVehicle(544, -2030.3463, 60.4982, 29.2326, 270.0000, -1, -1, 100);
Fire_car[6] = CreateVehicle(489, -2051.1416, 73.0670, 28.3635, 90.0000, -1, -1, 100);
Fire_car[7] = CreateVehicle(489, -2051.0247, 77.8906, 28.3635, 90.0000, -1, -1, 100);
Fire_car[8] = CreateVehicle(489, -2050.9307, 81.6331, 28.3635, 90.0000, -1, -1, 100);
Fire_car[9] = CreateVehicle(489, -2050.9788, 86.7329, 28.3635, 90.0000, -1, -1, 100);
Fire_car[10] = CreateVehicle(489, -2050.8687, 90.2321, 28.3635, 90.0000, -1, -1, 100);
Fire_car[11] = CreateVehicle(489, -2050.8455, 95.1521, 28.3635, 90.0000, -1, -1, 100);
Car = CreateVehicle(428, 2181.4673, 1585.0962, 1000.0170, 270.0000, -1, -1, 100);
LinkVehicleToInterior(Car, 1)