19.02.2011, 18:20
Hash, fixed:
Otherwise you could get 10999.
pawn Код:
public OnVehicleSpawn(vehicleid)
{
new string[32];
if(vehicleid >= 0 && vehicleid <= 2000)
{
new randnumb = 1000 + random(8999);
format(string, sizeof(string),"LS - %d",randnumb);
SetVehicleNumberPlate(vehicleid, string);
SetVehicleToRespawn(vehicleid);
}
}