03.11.2012, 16:20
Alright, so basically I am attempting to place a lightbar on an Admiral for my server's Sheriff's Department, however I can only get the lightbar when it is flashing to work (19419) but the lightbar when the lights are not flashing (19420) is not working. It seems highly unrealistic to have a flashing lightbar randomly appear and it seems as if it will be abused. I have used this, but it does not seem to work for the lightbar when it is not flashing:
All help is greatly appreciated.
~Nmader
pawn Код:
if(Vehicles[vehicleid][CarGroup] == 1)
{
switch(GetVehicleModel(vehicleid))
{
case 445:
{
AttachObjectToVehicle(sirenzoff, Vehicles[vehicleid][GameID], 0.0, -0.4, 0.84, 0.0, 0.0, 0.0);
}
}
}
~Nmader