Change the color of a textdraw
#1

PHP код:
else if(playertextid == testpaper[8][playerid])
        {
            if(
TestAlreadyClicked[0][playerid] == 0)
            {
                
PlayerTextDrawColor(playeridtestpaper[8][playerid], COLOR_GREEN);
                
TestAlreadyClicked[0][playerid] = 1;
            }
        } 
The code from above is working but the color of the textdraw is not chaning, any idea why?
Reply
#2

PlayerTextDrawShow((playerid, testpaper[8][playerid]);
Reply
#3

When you make changes in a textdraw you need to show it again.
Reply
#4

Quote:
Originally Posted by renatog
Посмотреть сообщение
When you make changes in a textdraw you need to show it again.
Thanks.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)