OnClientVehicleRespawn: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
 
(Added interwiki (ES))
 
(4 intermediate revisions by 4 users not shown)
Line 1: Line 1:
[[Category:Incomplete Event]]
{{Client event}}
__NOTOC__
This event is triggered when a vehicle respawns.


__NOTOC__
==Parameters==
This event is blahblah and is used for blahblah.
This event has no parameters.


==Syntax==  
==Source==
<syntaxhighlight lang="lua">
The source of this event is the vehicle that respawned.
void onClientVehicleRespawn ( void )
</syntaxhighlight>


==Example==  
==Example==  
This example does...
This example outputs to the console that a vehicle has respawned.
<syntaxhighlight lang="lua">
<syntaxhighlight lang="lua">addEventHandler("onClientVehicleRespawn",root,function()
--This line does...
outputConsole("A vehicle has respawned.")
blabhalbalhb --abababa
end)</syntaxhighlight>
--This line does this...
 
mooo
==See Also==
</syntaxhighlight>
===Client vehicle events===
{{Client_vehicle_events}}
===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