OnNPCExitVehicle

From NPC for VCMP 0.4 Servers
Revision as of 14:04, 9 March 2022 by Habi (talk | contribs) (Created page with "{{Welcome| desc=This function is called when an NPC leaves a vehicle.| params=<syntaxhighlight lang="lua">(vehicleid)</syntaxhighlight> <poem>:: vehicle : The ID of the vehicl...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Description:
This function is called when an NPC leaves a vehicle.


Parameters:

(vehicleid)

vehicle : The ID of the vehicle the NPC is exiting.


Return Values:
This function does not return any specific values.


Example

function OnNPCExitVehicle(vehicleid) 
{ 
     print("NPC exited vehicle" +vehicleid+"\n");
}