DE/getPlayerIP: Difference between revisions
Jump to navigation
Jump to search
Lars-marcel (talk | contribs) No edit summary |
Lars-marcel (talk | contribs) mNo edit summary |
||
Line 23: | Line 23: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
==Siehe | ==Siehe auch== | ||
{{Player functions}} | {{Player functions}} | ||
[[en:GetPlayerIP]] | [[en:GetPlayerIP]] |
Revision as of 12:06, 24 August 2012
Diese Funktion gibt einen string aus, der die IP-Adresse des player's enthält.
Syntax
string getPlayerIP ( player thePlayer )
Erfordrliche Argumente
- thePlayer: Der player von dem die IP-Adresse ausgegeben werden soll.
Ausgabe
Gibt einen string mit der IP-Adresse des player's zurück.
Beispiel
Dieses Beispiel gibt die IP-Adresse des player's im Chat aus.
function printIp ( thePlayer ) outputChatBox ( "IP: " .. getPlayerIP ( thePlayer ), thePlayer ) end addCommandHandler ( "ip", printIp )
Siehe auch
- getPlayerTeam
- getPlayerBlurLevel
- setPlayerBlurLevel
- getPlayerSerial
- forcePlayerMap
- getPlayerScriptDebugLevel
- getPlayerFromName
- getPlayerMoney
- getPlayerName
- getPlayerNametagColor
- getPlayerNametagText
- getPlayerPing
- getPlayerWantedLevel
- givePlayerMoney
- isPlayerMapForced
- isPlayerNametagShowing
- setPlayerHudComponentVisible
- setPlayerMoney
- setPlayerNametagColor
- setPlayerNametagShowing
- setPlayerNametagText
- takePlayerMoney
- countPlayersInTeam
- getPlayersInTeam
- isVoiceEnabled
- setControlState
- getControlState