[Bugs] Plates
#1

If I DestroyVehicle and CreateVehicle after, the vehicle plate gets reset to the XYZR 000 shit.....

The last one should remain.... or make it so you don't need to respawn vehicle when SetVehicleNumberPlate. It sucks very much.

Thank you.

EDIT:

Quote:
Originally Posted by scottyishere
Посмотреть сообщение
I am using but the point is, if I destroy and recreate the car then I also need to respawn it, which is sometimes lagging, just like this:

pawn Код:
DestroyVehicle(vehicleid);
crap = CreateVehicle(560,....);
SetVehicleNumberPlate(crap,"Ihateu");
SetVehicleToRespawn(crap);
This sux lol....

Another idea would be the ability to add SetVehicleNumberPlate in OnVehicleSpawn... so respawn won't be needed.
EDIT 2:

Ability to:
pawn Код:
SetVehicleNumberPlate(..);
SetVehicleParamsEx(..); //engine,lights,alarm,boot,bonnet
--- in OnVehicleSpawn without needing to respawn vehicle after
Reply
#2

Use dini or smth to save the numberplate to a specific vehicle.
Reply
#3

I am using but the point is, if I destroy and recreate the car then I also need to respawn it, which is sometimes lagging, just like this:

pawn Код:
DestroyVehicle(vehicleid);
crap = CreateVehicle(560,....);
SetVehicleNumberPlate(crap,"Ihateu");
SetVehicleToRespawn(crap);
This sux lol....

Another idea would be the ability to add SetVehicleNumberPlate in OnVehicleSpawn... so respawn won't be needed.
Reply
#4

Quote:
Originally Posted by scottyishere
Посмотреть сообщение
Another idea would be the ability to add SetVehicleNumberPlate in OnVehicleSpawn... so respawn won't be needed.
That's possible. Set a Vehicle's numberplate when it spawns.
Reply
#5

Quote:
Originally Posted by [FU]Victious
Посмотреть сообщение
That's possible. Set a Vehicle's numberplate when it spawns.
Doesn't work for me lol...

Also setting engine/lights/bonnet/boot/alarm doesn't work in OnVehicleSpawn.
Reply
#6

OnVehicleSpawn not called fristly spawn. ( When server create vehicles )
Reply
#7

You could just ask to add "Plate" parameter to CreateVehicle, AddStaticVehicle and AddStaticVehicleEx
Reply
#8

Quote:
Originally Posted by FUNExtreme
Посмотреть сообщение
You could just ask to add "Plate" parameter to CreateVehicle, AddStaticVehicle and AddStaticVehicleEx
That's also a solution, but the ability to add SetVehicleNumberPlate in OnVehicleSpawn would be the best thing to do.

Also the ability to add vehicle params: engine, lights, alarm...
Reply
#9

Just add SetVehicleNumberPlate right after the vehicle is created...you will then see the plates you set (cause the vehicle streams in for you after like 1 second, means plates get updated).

You dont have to respawn the vehicle, you can simply enter an interior/change your virtual world or go far away from it.
Reply
#10

Quote:
Originally Posted by FUNExtreme
Посмотреть сообщение
You could just ask to add "Plate" parameter to CreateVehicle, AddStaticVehicle and AddStaticVehicleEx
I'm making that into my vehicle streamer :P
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)