Admin cars
#6

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);
}
}
Put this at the end of your OnFilterScriptInit.
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];"
Reply


Messages In This Thread
Admin cars - by ColdIce - 10.05.2011, 19:26
Re: Admin cars - by SkizzoTrick - 10.05.2011, 20:14
Re: Admin cars - by ColdIce - 10.05.2011, 20:23
Re: Admin cars - by SkizzoTrick - 10.05.2011, 20:25
Re: Admin cars - by ColdIce - 10.05.2011, 20:30
Re: Admin cars - by SkizzoTrick - 10.05.2011, 20:42
Re: Admin cars - by Sasino97 - 10.05.2011, 20:57
Re: Admin cars - by lowrida018 - 10.05.2011, 20:58
Re: Admin cars - by ColdIce - 10.05.2011, 21:03
Re: Admin cars - by o_O - 11.05.2011, 01:18

Forum Jump:


Users browsing this thread: 1 Guest(s)