Posts: 308
Threads: 17
Joined: Mar 2010
Reputation:
0
You need to respawn the vehicles for them to take effect. Add SetVehicleToRespawn(i) after SetVehicleNumberPlate.
Another good place to set plates is under OnVehicleStreamIn.
Posts: 484
Threads: 61
Joined: Oct 2009
Reputation:
0
That is where you are wrong RandomKid. i have this in my GM after creating all the cars and it works like a charm, the correct thing i think you are talking about is for the player to see the effects it must stream out for atleast 3 seconds and then when it streams back in that player can see it, if it is changing them on the gamemodes entrance then it will work just fine. as for his questions, are you doing this after you are creating the cars, or before or in the middle of creation? if not after you create the vehicles then put it after
- [WF]Demon
Posts: 423
Threads: 7
Joined: Jul 2010
Reputation:
0
Crodox, you are actually wrong. When a vehicle streams out, it is destroyed on the player's system, and when it streams in, it is recreated with the saved parameters(model, license plate, etc), that's why it works after you stream in and out. If a vehicle never streams out for a player, the plate will never be put on. That's why you must use SetVehicleToRespawn.
Posts: 484
Threads: 61
Joined: Oct 2009
Reputation:
0
W/E you think (sorry for this bump) but it works for me in OnGameModeInit w/o SetVehicleToRespawn, but whatever works for people it works for them, the way i do it it works for me so i use it.