SetVehicleNumberPlate
#1

Is it possible to change the numberplates of all vehicles?
Where should that line of code?

grtz,
wiz.
Reply
#2

And why doesn't this work:

Quote:

public OnVehicleSpawn(vehicleid)
{
SetVehicleNumberPlate(vehicleid, "Wiz is awesome!");
return 1;
}

Reply
#3

Quote:
Originally Posted by wizarddoctor
Посмотреть сообщение
And why doesn't this work:
You need to specify the vehicle ID.

Example:

pawn Код:
new myvehicle = AddStaticVehicle(....);
SetVehicleNumberPlate(myvehicle, "Wiz is awesome!");
Reply
#4

Read the wiki, notes/howto etc..

SetVehicleNumberPlate

The Vehicle needs to be created with the plate number or respawned after adding the plate.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)