OnPlayerEnterVehicle: Difference between revisions
From Onset Developer Wiki
Created page with "{{Info|Event|Server|1.0}} {{FuncDescription|__EDIT_ME__}} {{FuncSyntax|OnPlayerEnterVehicle}} {{FuncParameters}} == Example == __EDIT_ME__ {{RelatedFunctions}} {{ServerEve..." |
No edit summary |
||
Line 3: | Line 3: | ||
{{FuncDescription|__EDIT_ME__}} | {{FuncDescription|__EDIT_ME__}} | ||
{{FuncSyntax|OnPlayerEnterVehicle}} | {{FuncSyntax|OnPlayerEnterVehicle(player, vehicle, seat)}} | ||
{{FuncParameters}} | {{FuncParameters}} | ||
{{FuncParam|player|The player is entering a vehicle.}} | |||
{{FuncParam|vehicle|The vehicle in which he is getting in.}} | |||
{{FuncParam|seat|The seat of the vehicle.}} | |||
== Example == | == Example == | ||
__EDIT_ME__ | __EDIT_ME__ |
Revision as of 22:33, 22 March 2019
Description
__EDIT_ME__
Syntax
OnPlayerEnterVehicle(player, vehicle, seat)
Parameters
- player
The player is entering a vehicle. - vehicle
The vehicle in which he is getting in. - seat
The seat of the vehicle.
Example
__EDIT_ME__
See also
Player
- OnPlayerServerAuth
- OnPlayerSteamAuth
- OnPlayerDownloadFile
- OnPlayerStreamIn
- OnPlayerStreamOut
- OnPlayerPickupHit
- OnPlayerJoin
- OnPlayerQuit
- OnPlayerSpawn
- OnPlayerDeath
- OnPlayerWeaponShot
- OnPlayerDamage
- OnPlayerChat
- OnPlayerChatCommand
- OnPlayerInteractDoor
- OnPlayerChangeDimension
Vehicle
- OnPlayerEnterVehicle
- OnPlayerLeaveVehicle
- OnPlayerStateChange
- OnVehicleRespawn
- OnVehicleStreamIn
- OnVehicleStreamOut
- OnVehicleDamage
- OnVehicleChangeDimension
- OnVehicleCreated
- OnVehicleDestroyed
Game
Package
NPC
- OnNPCReachTarget
- OnNPCDamage
- OnNPCSpawn
- OnNPCDeath
- OnNPCStreamIn
- OnNPCStreamOut
- OnNPCChangeDimension
- OnNPCCreated
- OnNPCDestroyed
Object
- OnObjectStopMoving
- OnObjectChangeDimension
- OnObjectCreated
- OnObjectDestroyed
- OnObjectStreamIn
- OnObjectStreamOut