SA-MP Forums Archive
PlayerTextDrawBoxColor not working. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: PlayerTextDrawBoxColor not working. (/showthread.php?tid=643279)



PlayerTextDrawBoxColor not working. - 0x88 - 16.10.2017

Код:
stock Phone_ShowUI(playerid)
{
        switch(player_cache[playerid][phone_color])
        {
                 case PHONE_BLACK: PlayerTextDrawBoxColor(playerid, PhoneDisplay[playerid], 255);
                 case .. more colour stuff, no need to show all
        }
        PlayerTextDrawShow(playerid, PhoneDisplay[playerid]);
}
This is not working, it still keeps the same as it's created.


Re: PlayerTextDrawBoxColor not working. - jlalt - 16.10.2017

Is the textdraw already shown? if yes try to hide and re show it.