SetVehicleNumberPlate bugs?
#1

Is there a bug in SetVehicleNumberPlate when player die,
i questioning this when i Set Vehicle Number Plate and die plate change in XYZ 000?

Anybody have similar issue?
Reply
#2

In OnVehicleSpawn callback, you should put the SetVehicleNumberPlate function. It's called when the specific vehicle was destroyed/blown up, after it respawns, the number plate on the specific vehicle has been set.
Reply
#3

Yeah basically, but it's more whenever a vehicle is set to respawn, whether it is because of the respawn delay or because it has to reset because of it's status.

The code would look something like this:
pawn Код:
public OnVehicleSpawn(vehicleid)
{
    SetVehicleNumberPlate(vehicleid, "MyNumberPlate");
    return 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)