GetPlayerMapBoundingBox: Difference between revisions
Jump to navigation
Jump to search
(New page: __NOTOC__ {{Client function}} This function gets the GUI bounding box of the radar map texture. ==Syntax== <syntaxhighlight lang="lua">int,int,int,int getPlayerMapBoundingBox ()</syntaxhighlight> ===Returns=== * ...) |
mNo edit summary |
||
Line 10: | Line 10: | ||
** ''minX,minY'' represent the world coordinate ''-3000,-3000'' | ** ''minX,minY'' represent the world coordinate ''-3000,-3000'' | ||
** ''maxX,maxY'' represent the world coordinate ''3000,3000''. | ** ''maxX,maxY'' represent the world coordinate ''3000,3000''. | ||
** Negative values | ** Negative values may be returned if these coordinates are off screen. | ||
* If the map was not showing, a ''false'' boolean value is returned. | * If the map was not showing, a ''false'' boolean value is returned. | ||
Revision as of 16:54, 15 January 2009
This function gets the GUI bounding box of the radar map texture.
Syntax
int,int,int,int getPlayerMapBoundingBox ()
Returns
- If the player's map is showing, it returns four integers: minX, minY, maxX, maxY. These are absolute position coordinates of where the player's map is drawn on the screen
- minX,minY represent the world coordinate -3000,-3000
- maxX,maxY represent the world coordinate 3000,3000.
- Negative values may be returned if these coordinates are off screen.
- If the map was not showing, a false boolean value is returned.
Example
--Needs an example
See Also
- getLocalPlayer
- getPlayerMapBoundingBox
- getPlayerMapOpacity
- isPlayerMapVisible
- resetBlurLevel
- isPlayerHudComponentVisible
- Shared
- 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