OnClientProjectileCreation: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(New page: __NOTOC__ {{Client event}} This event is triggered when a projectile is created. ==Parameters== <syntaxhighlight lang="lua"> element creator </syntaxhighlight> ==Source== The [[event system#Event source|sour...)
(No difference)

Revision as of 21:38, 21 February 2008

This event is triggered when a projectile is created.

Parameters

element creator

Source

The source of this event is the projectile that was created.

Example

function projectileCreation()
	outputChatBox("A projectile was created!")
end
addEventHandler("onClientProjectileCreation", getRootElement(), projectileCreation)

See Also

Client projectile events