10.11.2015, 09:08
PlayerTextDrawHide does not return anything interesting. You dont need to put that in the return statement.
pawn Код:
forward HideInfoBox(playerid);
public HideInfoBox(playerid) {
if (!PlayerData[playerid][pShowInfoBox])
return 0;
PlayerData[playerid][pShowInfoBox] = false;
PlayerTextDrawHide(playerid, PlayerData[playerid][pTextdraws][83]);
PlayerTextDrawHide(playerid, PlayerData[playerid][pTextdraws][84]);
return;
}