10.05.2011, 20:42
pawn Код:
//=================NOTE*:PUT THIS after the lines where you create the vehicles!
for(new i = 0;i < MAX_VEHICLES;i++)
{
if(IsAnAdminCar(i))//change it depending to your script
{
SetVehicleNumberPlate(i,"ADMIN");
SetVehicleToRespawn(i);
}
}
And about the "IsAnAdminCar",you have to create a call back that checks if the vehicle is an admin one.
You can do it by checking the ids or just create a vector "admincar[15];"