Quantcast
Channel: SA-MP Forums
Viewing all articles
Browse latest Browse all 18226

Invisible vehicles issue.

$
0
0
Code:

           
g_iRaceInfo[GetPVarInt(playerid, "SettingRace")][rVehicles][0] = AddStaticVehicle(g_iRaceInfo[GetPVarInt(playerid, "SettingRace")][rCar], -1462.4564, -618.7256, 1050.8353, 95.4398, COLOR_BLACK, COLOR_BLACK);
                            g_iRaceInfo[GetPVarInt(playerid, "SettingRace")][rVehicles][1] = AddStaticVehicle(g_iRaceInfo[GetPVarInt(playerid, "SettingRace")][rCar], -1462.3168, -611.6928, 1054.3953, 95.4398, COLOR_BLACK, COLOR_BLACK);
                            g_iRaceInfo[GetPVarInt(playerid, "SettingRace")][rVehicles][2] = AddStaticVehicle(g_iRaceInfo[GetPVarInt(playerid, "SettingRace")][rCar], -1462.4564, -618.7256, 1050.8353, 95.4398, COLOR_BLACK, COLOR_BLACK);
                            for(new i; i >= 3; i++)
                            {
                                    LinkVehicleToInterior(g_iRaceInfo[GetPVarInt(playerid, "SettingRace")][rVehicles][i], 4);
                                    SetVehicleVirtualWorld(g_iRaceInfo[GetPVarInt(playerid, "SettingRace")][rVehicles][i], GetPVarInt(playerid, "SettingRace"));
                            }


This code seems to be making invisible cars, however, when I type /dl, I can see all the car information where they're supposed to be, so they're there without textures.

HALP!!!!

:D

Viewing all articles
Browse latest Browse all 18226

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>