A módodba beszúrod ezt:
stock HideAllTextDraws(playerid)
{
for(new i = 0; i < 16; i++)
{
TextDrawHideForPlayer(playerid, Text:i);
}
}
stock ShowAllTextDraws(playerid)
{
for(new i = 0; i < 16; i++)
{
TextDrawShowForPlayer(playerid, Text:i);
}
}
Parancs: ( OnPlayerCommandText-alá )
if(!strcmp(cmdtext, \"/hide\", true))
{
HideAllTextDraws(playerid);
return 1;
}
if(!strcmp(cmdtext, \"/show\", true))
{
ShowAllTextDraws(playerid);
return 1;
}