Posts: 49
Threads: 10
Joined: Sep 2008
Reputation:
0
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
Posts: 224
Threads: 28
Joined: Oct 2009
Reputation:
0
Maybe you set your cars in an interior
Posts: 49
Threads: 10
Joined: Sep 2008
Reputation:
0
I don't think I did. I went to mta and added these cars and then converted them to samp.
Posts: 224
Threads: 28
Joined: Oct 2009
Reputation:
0
Try add your cars with the normal way
In game /save
Posts: 49
Threads: 10
Joined: Sep 2008
Reputation:
0
I already tried that way it still shows a invisible car
Posts: 224
Threads: 63
Joined: Aug 2010
Reputation:
0
Then you should be happy, you are the boss, you have a invisible car :P
Posts: 1,150
Threads: 16
Joined: Oct 2009
Reputation:
0
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).
Posts: 49
Threads: 10
Joined: Sep 2008
Reputation:
0
thanks, the LinkVehicleToInterior() was the problem