Difference between revisions of "IS EMERGENCY SERVICES VEHICLE"

From GTAMods Wiki
Jump to navigation Jump to search
(Created page with "{{Native |np = 1 |p1t = integer |p1d = Vehicle handle |r=1 |rt=bool |rd=Returns true if the given vehicle is a police car. (Note: Returns false if the vehicle ...")
 
(Corrected which vehicles return true/false)
 
Line 5: Line 5:
 
|r=1
 
|r=1
 
|rt=bool
 
|rt=bool
|rd=Returns true if the given vehicle is a police car. (Note: Returns false if the vehicle is an ambulance, fire truck, or police helicopter.)
+
|rd=Returns true if the given vehicle is a police car or truck. (Note: Returns false for police helicopters and boats, ambulances, and fire trucks.)
 
}}
 
}}

Latest revision as of 21:37, 6 October 2012

IS_EMERGENCY_SERVICES_VEHICLE
Number of parameters: 1
Parameter #TypeDescription
1.integerVehicle handle
Return value:
TypeDescription
boolReturns true if the given vehicle is a police car or truck. (Note: Returns false for police helicopters and boats, ambulances, and fire trucks.)