Invisible vehicles (yes VW and IntID are checked..) - 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: Invisible vehicles (yes VW and IntID are checked..) (
/showthread.php?tid=654734)
Invisible vehicles (yes VW and IntID are checked..) -
Stefand - 04.06.2018
Hi all,
So I have this garage system in my server script, which saves and loads properly.
I have a vehicle saved in garage with virtualworld 50001 and interiorid 3. Although when I load the vehicle and assign those values, the vehicle and all other vehicles becomes invisible for me..
Код:
PlayerVehicles[storeID][pVehicleDL] = CreateVehicle(PlayerVehicles[storeID][pVehicleModelID], PlayerVehicles[storeID][pVehiclePosX], PlayerVehicles[storeID][pVehiclePosY], PlayerVehicles[storeID][pVehiclePosZ], PlayerVehicles[storeID][pVehiclePosA], PlayerVehicles[storeID][pVehicleColor1], PlayerVehicles[storeID][pVehicleColor2], -1);
SetVehicleVirtualWorld(PlayerVehicles[storeID][pVehicleDL], PlayerVehicles[storeID][pVehicleWorld]);
SetVehicleInteriorEx(PlayerVehicles[storeID][pVehicleDL], PlayerVehicles[storeID][pVehicleInterior]);
Help?
Re: Invisible vehicles (yes VW and IntID are checked..) -
Stefand - 04.06.2018
No idea what I did, but I solved it.