Using a string to set textdraw color
#1

Is it possible to do something like that?

PHP Code:
                new str[16];
                new 
strJoin[8];
                
                
strcat(str"0xFF0000");
                
format(strJoinsizeof(strJoin), "%d"10+amount*-1); // amount is my variable
                
strcat(strstrJoin);
                
                
PlayerTextDrawColor(playeridtxtpDmg[playerid], str); // line 1606 
I get an error:
PHP Code:
(1606) : error 035argument type mismatch (argument 3
Reply


Messages In This Thread
Using a string to set textdraw color - by Amads - 01.07.2017, 10:53
Re: Using a string to set textdraw color - by Freedom. - 01.07.2017, 11:56
Re: Using a string to set textdraw color - by Amads - 01.07.2017, 13:49

Forum Jump:


Users browsing this thread: 1 Guest(s)