SA-MP Forums Archive
car stream z bug ? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: car stream z bug ? (/showthread.php?tid=97688)



car stream z bug ? - c-middia - 15.09.2009

i have some cars parked in an interior, when iam am "outside" they fall from the sky ...


Re: car stream z bug ? - V1ceC1ty - 15.09.2009

you need this instead of just the normal way of adding them in. change the vehicle model, interior id, spawn location to what you need.

Код:
new vehicle1 = AddStaticVehicle(522,-1444.0927,1606.3047,1052.3134,1.4823,8,82); 
	LinkVehicleToInterior(vehicle1, 14);
	new vehicle2 = AddStaticVehicle(522,-1445.4584,1606.2693,1052.3134,1.4824,8,82); 
	LinkVehicleToInterior(vehicle2, 14);
	new vehicle3 = AddStaticVehicle(522,-1446.3362,1606.2463,1052.3134,1.4824,8,82); 
	LinkVehicleToInterior(vehicle3, 14);
	new vehicle4 = AddStaticVehicle(522,-1447.4344,1606.2179,1052.3134,1.4824,8,82);
	LinkVehicleToInterior(vehicle4, 14);
	new vehicle5 = AddStaticVehicle(581,-1448.6311,1606.3051,1052.3468,359.5201,72,1);
	LinkVehicleToInterior(vehicle5, 14);
	new vehicle6 = AddStaticVehicle(581,-1450.0244,1606.3168,1052.3468,359.5204,72,1); 
	LinkVehicleToInterior(vehicle6, 14);
	new vehicle7 = AddStaticVehicle(581,-1451.2698,1606.3273,1052.3468,359.5204,72,1); 
	LinkVehicleToInterior(vehicle7, 14);
	new vehicle8 = AddStaticVehicle(581,-1452.0513,1606.3339,1052.3468,359.5204,72,1); 
	LinkVehicleToInterior(vehicle8, 14);
	new vehicle9 = AddStaticVehicle(510,-1454.1019,1606.5038,1052.3577,0.7802,2,2); 
	LinkVehicleToInterior(vehicle9, 14);
	new vehicle10 = AddStaticVehicle(510,-1455.4937,1606.4847,1052.3577,0.7802,2,2); 
	LinkVehicleToInterior(vehicle10, 14);
	new vehicle12 = AddStaticVehicle(510,-1456.1042,1606.4763,1052.3577,0.7802,2,2); 
	LinkVehicleToInterior(vehicle12, 14);
	new vehicle13 = AddStaticVehicle(510,-1456.7139,1606.4680,1052.3577,0.7802,2,2); 
	LinkVehicleToInterior(vehicle13, 14);
	new vehicle14 = AddStaticVehicle(510,-1457.2511,1606.4606,1052.3577,0.7802,2,2); 
	LinkVehicleToInterior(vehicle14, 14);



Re: car stream z bug ? - c-middia - 16.09.2009

lol i have linked my vehicles to the int ... the cars fall from the sky invisable ie in other int
this is not happening in my 0.2x server the cars are way above your head and should not be streamed ... thanks for replys though lol.

* inside my car park


* player map from carpark note cars are neat


* outside the cars show on mini map see the smoke one has just blown up



Re: car stream z bug ? - Kalcor - 16.09.2009

This could be a problem but easy to work around. Generally we use different virtual worlds for all interiors. If you did this you wouldn't see the problem. If you do use vehicles in interiors I'd suggest assigning that interior its own virtual world.


Re: car stream z bug ? - TMasters - 16.09.2009

Maybe a unloaded object bug?

If you got object streamer and if you are near vehicle, and object didn't load cause of its distance, vehicles fall down from sky..

Helpful?


Re: car stream z bug ? - c-middia - 16.09.2009

@TMasters this is a native int to samp, thanks though.
thanks kye good point i will see if changing the vert world helps, but i think the cars are going to fall through the int again regardless of their vert world .... thanks you for your help kye i will post later with my results


Re: car stream z bug ? - Mikep. - 16.09.2009

Also, if a vehicle streams out whilst in the air, when you can back to it, it will remain stationary until you touch it.