return with two textdraws?
#3

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;
}
Reply


Messages In This Thread
return with two textdraws? - by DemME - 10.11.2015, 08:48
Re: return with two textdraws? - by iKarim - 10.11.2015, 09:05
Re: return with two textdraws? - by Mauzen - 10.11.2015, 09:08
Re: return with two textdraws? - by DemME - 10.11.2015, 09:12
Re: return with two textdraws? - by Mauzen - 10.11.2015, 09:23
Re: return with two textdraws? - by PrO.GameR - 10.11.2015, 09:30
Re: return with two textdraws? - by AbyssMorgan - 10.11.2015, 14:30

Forum Jump:


Users browsing this thread: 1 Guest(s)