KNOCK PED OFF BIKE

From GTAMods Wiki
Revision as of 23:06, 21 August 2014 by Letsplayordy (talk | contribs) (Created page with "{{Native |game = 4 |noheader = 0 |np = 1 |p1t = handle |p1d = vehicle handle |r = 0 }} Knocks ped off of bike. To use this, you would want to chec...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
KNOCK_PED_OFF_BIKE
Number of parameters: 1
Parameter #TypeDescription
1.handlevehicle handle
Return value:
TypeDescription
None

Knocks ped off of bike. To use this, you would want to check if the vehicle you are calling this on is a bike (using GET_CAR_MODEL & IS_THIS_MODEL_A_BIKE), then check if there is a ped on the bike (using GET_DRIVER_OF_CAR (checking if it exists) & IS_CAR_PASSENGER_SEAT_FREE).