Vehicle's Not Spawning! - 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)
+--- Thread: Vehicle's Not Spawning! (
/showthread.php?tid=557756)
Vehicle's Not Spawning! -
ChromeAmazing - 15.01.2015
It appears when I localhost my server (With prespawned vehicles in the script already) none of the vehicles appear! Nor does the command /spawnvehicle spawns a vehicle. No vehicles show up either way.
I will show an example of one prespawned vehicle.
Код:
AddStaticVehicleEx(462,1561.4875,-2234.6577,13.1434,88.9322,-1,-1,300000);
Although, would I need any type of defines for the vehicle (other then lights/engine).
Re: Vehicle's Not Spawning! -
Sime30 - 15.01.2015
Stupid question , but are you in the same interior and world id as the vehicle?
Re: Vehicle's Not Spawning! -
ChromeAmazing - 15.01.2015
Quote:
Originally Posted by Sime30
Stupid question , but are you in the same interior and world id as the vehicle?
|
Same set interior and world.
Re: Vehicle's Not Spawning! -
Sime30 - 15.01.2015
Check VehicleStream and PlayerStream.
Also, is AddStaticVehicleEx(462,1561.4875,-2234.6577,13.1434,88.9322,-1,-1,300000); set under GameModeInit ?
No shitty defines IF ELSES?
Re: Vehicle's Not Spawning! -
ChromeAmazing - 15.01.2015
Problem fixed, and repped.