OnVehicleStreamIn

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


Description:
This function is called when a vehicle is streamed in for an NPC.


Parameters:

(vehicleid)

vehicleid : The ID of the vehicle which streamed in.


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


Example

function OnVehicleStreamIn(vehicleid)
{
	print("That vehicle "+vehicleid+" is mine!\n");
}