24.12.2011, 20:48
Using this function
https://sampwiki.blast.hk/wiki/SetVehicleNumberPlate
As the vehicle has to be respawned you can use something like
https://sampwiki.blast.hk/wiki/SetVehicleNumberPlate
As the vehicle has to be respawned you can use something like
pawn Код:
new bool:IsVehiclePlateOk[MAX_VEHICLES];
OnVehicleSpawn(vehicleid)
{
if(!IsVehiclePlateOk[vehicleid])
{
IsVehiclePlateOk[vehicleid] = true;
SetVehicleNumberPlate(vehicleid, "Monster-Game");
SetVehicleToRespawn(vehicleid);
}
return 1;
}