Difference between revisions of "HudSEsp"
Jump to navigation
Jump to search
imported>Haama (Created) |
imported>Haama (Combined HudT function) |
||
Line 2: | Line 2: | ||
'''Syntax:''' | '''Syntax:''' | ||
For HudS (Surface/Image) | |||
(EspID:short) HudSEsp HudID:long ''EspID:short'' ''Global:bool'' | (EspID:short) HudSEsp HudID:long ''EspID:short'' ''Global:bool'' | ||
For HudT (Text) | |||
(EspID:short) HudTEsp HudID:long ''EspID:short'' ''Global:bool'' | |||
Returns or sets the EspID of the | Returns or sets the EspID of the Hud. | ||
*If EspID is not specified, it returns the EspID of the | *If EspID is not specified, it returns the EspID of the Hud. | ||
*If EspID is specified, it sets the EspID of the | *If EspID is specified, it sets the EspID of the Hud. | ||
**If the | **If the Hud does not exist, the function returns -1. | ||
**If you want to modify a | **If you want to modify a Hud from another mod or "0" scripts (result scripts, console, batch scripts), you will need to set the Global flag to 1. If Global is 0 or unset the function will fail. If the Hud is protected the function will fail. | ||
[[Category: Functions (Pluggy)]] | [[Category: Functions (Pluggy)]] | ||
[[Category: Hud Functions (Pluggy)]] | [[Category: Hud Functions (Pluggy)]] |
Latest revision as of 17:50, 24 November 2008
A command for Pluggy.
Syntax:
For HudS (Surface/Image)
(EspID:short) HudSEsp HudID:long EspID:short Global:bool
For HudT (Text)
(EspID:short) HudTEsp HudID:long EspID:short Global:bool
Returns or sets the EspID of the Hud.
- If EspID is not specified, it returns the EspID of the Hud.
- If EspID is specified, it sets the EspID of the Hud.
- If the Hud does not exist, the function returns -1.
- If you want to modify a Hud from another mod or "0" scripts (result scripts, console, batch scripts), you will need to set the Global flag to 1. If Global is 0 or unset the function will fail. If the Hud is protected the function will fail.