KNOCK PED OFF BIKE

From GTAMods Wiki
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).