Vehicle Siren?
#9

Quote:
Originally Posted by cordellpwnz
Посмотреть сообщение
This is something I've did in my script when loading the vehicles. You dont need to define if it has a siren or not in your MySQL database - just check for faction.

pawn Код:
if(cardata[vehicleid][pFaction] == FACTION_POLICE)
    {
        //createvehicle with siren
    }
    else
    {
        // create vehicle no siren.
    }
Reply


Messages In This Thread
Vehicle Siren? - by cordellpwnz - 11.05.2015, 17:50
Re: Vehicle Siren? - by Luis- - 11.05.2015, 17:53
Re: Vehicle Siren? - by cordellpwnz - 11.05.2015, 17:59
Re: Vehicle Siren? - by MP2 - 11.05.2015, 17:59
Re: Vehicle Siren? - by cordellpwnz - 11.05.2015, 18:06
Re: Vehicle Siren? - by Luis- - 11.05.2015, 18:10
Re: Vehicle Siren? - by MP2 - 11.05.2015, 18:13
Re: Vehicle Siren? - by cordellpwnz - 11.05.2015, 18:29
Re: Vehicle Siren? - by The__ - 11.05.2015, 20:00

Forum Jump:


Users browsing this thread: 2 Guest(s)