DE/getPlayerIP: Difference between revisions
Jump to navigation
Jump to search
Lars-marcel (talk | contribs) |
(No difference)
|
Revision as of 11:51, 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 )
See Also
- 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