Vehicle Respawn Interior - 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 Respawn Interior (
/showthread.php?tid=573906)
Vehicle Respawn Interior -
AlexBlack - 11.05.2015
Hi, i'am using a small Vehicle Ownership systиme , but i have a small problem , when i do /respawncars ( this command respawn all cars in the server ) , they have some vehicles that i have put it in interiors / Virtual worlds, this vehicles will be respawned at default interior / VW , i have tried to make this
PHP код:
LinkVehicleToInterior(Vehicles[vehicleid][vehicleData], Vehicles[vehicleid][vehInt]);
SetVehicleVirtualWorld(Vehicles[vehicleid][vehicleData], Vehicles[vehicleid][vehVW]);
On the callback "OnVehicleSpawn" but this didn't work, thx for helping.