OnClientPlayerTarget: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 6: Line 6:
outputChatBox ( "hi" )
outputChatBox ( "hi" )
end</pre>
end</pre>
and yes it was defined as a client script. --[[User:Ransom|Ransom]] 00:34, 12 April 2007 (CDT)
and yes it was defined as a client script. --[[User:Ransom|Ransom]] 00:34, 12 April 2007 (CDT)}}


[[Category:Incomplete Event]]
[[Category:Incomplete Event]]

Revision as of 05:34, 12 April 2007

Dialog-information.png This article needs checking.

Reason(s): Could not make work with
root = getRootElement ()

addEventHandler ( "onClientPlayerTarget", root, "targetingActivated" )
function targetingActivated ( target )
outputChatBox ( "hi" )
end

and yes it was defined as a client script. --Ransom 00:34, 12 April 2007 (CDT)


This event is blahblah and is used for blahblah.

Syntax

void onClientPlayerTarget ( element target )

Example

This example does...

--This line does...
blabhalbalhb --abababa
--This line does this...
mooo