28.12.2010, 00:33
(
Последний раз редактировалось _rAped; 28.12.2010 в 00:34.
Причина: Intendation
)
Jizz. Nice bump haha. For some other reason I felt to restate what he said.
You have to respawn the vehicle, when calling it under OnVehicleSpawn().
You have to respawn the vehicle, when calling it under OnVehicleSpawn().
pawn Код:
public OnVehicleSpawn(vehicleid)
{
new string[32];
if(vehicleid >= 1 && vehicleid <= 9)
{
new randnumb = 1 + random(9);
format(string, sizeof(string),"NGRP %d%d%d",randnumb,randnumb,randnumb);
SetVehicleNumberPlate(vehicleid, string);
SetVehicleToRespawn(vehicleid);
}
return 1;
}