Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×
Sign in to follow this  
D. Patterson

createVehicle Local Array.

Recommended Posts

Im trying to have alot of objects created, but I dont want them to be created on the server (due to lag) unfortunately this doesn't work:

NullSpawnWreck = player createVehicleLocal ["Land_UWreck_FishingBoat_F",getMarkerPos "wreckspawn_1", [], 4000, "NONE"];

I need it to spawn within a 4000 unit radius of marker "wreckspawn_1" but it cannot be created on the server, it must be created locally. Error is type object expected string

Share this post


Link to post
Share on other sites

You have to use this syntax:

NullSpawnWreck = "Land_UWreck_FishingBoat_F" createVehicleLocal (getMarkerPos "wreckspawn_1");

Share this post


Link to post
Share on other sites
Sign in to follow this  

×