Difference between revisions of "OnClientVehicleRespawn"

From Multi Theft Auto: Wiki
m (See Also for client vehicle events)
(Added interwiki (ES))
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Category:Incomplete Event]]
 
 
{{Client event}}
 
{{Client event}}
 
__NOTOC__  
 
__NOTOC__  
Line 11: Line 10:
  
 
==Example==  
 
==Example==  
<syntaxhighlight lang="lua">
+
This example outputs to the console that a vehicle has respawned.
 
+
<syntaxhighlight lang="lua">addEventHandler("onClientVehicleRespawn",root,function()
</syntaxhighlight>
+
outputConsole("A vehicle has respawned.")
 +
end)</syntaxhighlight>
  
 
==See Also==
 
==See Also==
Line 20: Line 20:
 
===Client event functions===
 
===Client event functions===
 
{{Client_event_functions}}
 
{{Client_event_functions}}
 +
[[es:onClientVehicleRespawn]]

Latest revision as of 00:35, 14 May 2012

This event is triggered when a vehicle respawns.

Parameters

This event has no parameters.

Source

The source of this event is the vehicle that respawned.

Example

This example outputs to the console that a vehicle has respawned.

addEventHandler("onClientVehicleRespawn",root,function()
	outputConsole("A vehicle has respawned.")
end)

See Also

Client vehicle events


Client event functions