OnNPCExitVehicle: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 8: | Line 8: | ||
print("NPC exited vehicle\n"); | print("NPC exited vehicle\n"); | ||
} | } | ||
</source> | </source>| | ||
note=This function is not called when npc exit vehicle using [[ExitVehicle]] or [[ExitVehicleEx]] | |||
}} | }} |
Latest revision as of 14:37, 1 March 2024
Description:
This function is called when an NPC leaves a vehicle.
Parameters:
NoParams
Return Values:
This function does not return any specific values.
Important Note:
This function is not called when npc exit vehicle using ExitVehicle or ExitVehicleEx
Example
function OnNPCExitVehicle() { print("NPC exited vehicle\n"); }