OnVehicleRespawn: Difference between revisions

From Onset Developer Wiki
No edit summary
28days (talk | contribs)
No edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{Info|Event|Server|1.0}}
{{Info|Event|Server|1.0}}


{{FuncDescription|__EDIT_ME__}}
{{FuncDescription|This event is called when a vehicle is respawned.}}


{{FuncSyntax|OnVehicleRespawn(vehicle)}}
{{FuncSyntax|OnVehicleRespawn(vehicle)}}
Line 9: Line 9:


== Example ==
== Example ==
__EDIT_ME__
<syntaxhighlight lang='Lua'>
AddEvent("OnVehicleRespawn", function (vehicleid)
end)
</syntaxhighlight>


{{RelatedFunctions}}
{{RelatedFunctions}}
{{ServerEvents}}
{{VehicleServerEvents}}

Latest revision as of 09:20, 4 March 2020

OnVehicleRespawn

Type: Event
Context: Server
Introduced: v1.0

Description

This event is called when a vehicle is respawned.

Syntax

OnVehicleRespawn(vehicle)

Parameters

  • vehicle
    The vehicle identifier.

Example

AddEvent("OnVehicleRespawn", function (vehicleid)
end)

See also