04.06.2018, 16:12
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..
Help?
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]);