TR/setElementData: Difference between revisions
Jump to navigation
Jump to search
(Created page with "==Example==") |
|||
Line 1: | Line 1: | ||
==Syntax== | |||
<section show="true" name="Server" class="server"> | |||
<syntaxhighlight lang="lua">int/bool getPlayerMoney ( player veya thePlayer )</syntaxhighlight> | |||
{{OOP||[[player]]:getMoney|money|setPlayerMoney}} | |||
</section> | |||
<section show="true" name="Client" class="client"> | |||
<syntaxhighlight lang="lua">int getPlayerMoney (getLocalPlayer() veya localPlayer)</syntaxhighlight> | |||
{{OOP||[[Player]].getMoney||setPlayerMoney}} | |||
</section> | |||
==Example== | ==Example== |
Revision as of 17:10, 21 May 2017
Syntax
Click to collapse [-]
Serverint/bool getPlayerMoney ( player veya thePlayer )
OOP Syntax Help! I don't understand this!
- Method: player:getMoney(...)
- Variable: .money
- Counterpart: setPlayerMoney
Click to collapse [-]
Clientint getPlayerMoney (getLocalPlayer() veya localPlayer)
OOP Syntax Help! I don't understand this!
- Method: Player.getMoney(...)
- Counterpart: setPlayerMoney