Перейти к основному содержимому

HideGameTextForAll

Предупреждение

В версии omp v1.1.0.2612 добавлено следующее: функция. В более ранних версиях это не работает!

Description​

Stop showing a gametext style for all players.

NameDescription
styleThe 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;
}