warning Not Translated
This page has not been translated into the language that your browser requested yet. The English content is being shown as a fallback.
If you want to contribute a translation for 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.