25.09.2014, 13:05
The textdraws aren't hiding, it did work a few days ago, but I have no idea why it's not working now..
pawn Код:
stock HideCommandsTextDraws(playerid)
{
PlayerTextDrawHide(playerid, TDBox[playerid]);
PlayerTextDrawHide(playerid, CommandsTD[playerid]);
PlayerTextDrawHide(playerid, TextMessage[playerid]);
return 1;
}
pawn Код:
if(PRESSED(KEY_FIRE))
{
if(CommandsS[playerid] == 1)
{
HideCommandsTextDraws(playerid);
CommandsS[playerid] = 0;
}
return 1;
}