note Help Needed
This wiki is the result of an ongoing community effort — thank you all for helping!
If you want to provide changes to this page then please click here.
HideGameTextForAll
warning
This function was added in omp v1.1.0.2612 and will not work in earlier versions!
Description
Stop showing a gametext style for all players.
Name | Description |
---|---|
style | The style of text to hide. |
Returns
This function does not return any specific value.
Examples
public OnPlayerCommandText(playerid, cmdtext[])
{
if (!strcmp(cmdtext, "/hidegametext3", true))
{
if (!IsPlayerAdmin(playerid))
{
return 1;
}
HideGameTextForAll(3);
return 1;
}
return 0;
}
Related Functions
- HideGameTextForPlayer: Stop showing a gametext style to a player.
- GameTextForPlayer: Display gametext to a player.
- GameTextForAll: Display gametext to all players.
- TextDrawHideForAll: Hide a textdraw for all players.