Invisible car
#1

Alright, I wanted to add some News van at the news hq, but 4 news van turned out to be invisible.

AddStaticVehicle(582,763.2947,-1335.6726,13.5736,148.1665,2,1); // news 1
AddStaticVehicle(582,756.7409,-1334.7643,13.5957,180.1345,2,1); // news 2
AddStaticVehicle(582,750.7573,-1334.9136,13.6046,180.5620,2,1); // news 3
AddStaticVehicle(582,738.4964,-1334.1765,13.6226,82.3503,2,1); // news 4
Reply
#2

Maybe you set your cars in an interior
Reply
#3

I don't think I did. I went to mta and added these cars and then converted them to samp.
Reply
#4

Try add your cars with the normal way
In game /save
Reply
#5

I already tried that way it still shows a invisible car
Reply
#6

Then you should be happy, you are the boss, you have a invisible car :P
Reply
#7

Check the code under OnGameModeInit(). What do you mean by invisible?
1)You can ride the car but others can't see you?
Possible Cause: You are using LinkVehicleToInterior() to link the vehicle to an interior under OnGameModeInit().

2)Or they don't appear?
Possible Causes: You have a custom map and you are creating the vehicles at the wrong co-ordinates (mostly lower z value).
Reply
#8

thanks, the LinkVehicleToInterior() was the problem
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)