Setting a textdraws Color
#1

I've been having this error for a while now, and its getting annoying.

Код:
error 035: argument type mismatch (argument 2)
pawn Код:
new color[16];
    if(0 < fSpeed <= 30) color = "0x04B404FF";
    else if(30 < fSpeed <= 50) color = "0x5FB404FF";
    else if(50 < fSpeed <= 70) color = "0xAEB404FF";
    else if(70 < fSpeed <= 90) color = "0xB45F04FF";
    else if(90 < fSpeed <= 110) color = "0xDF7401FF";
    else if(110 < fSpeed < 1000) color = "0xDF0101FF";


    TextDrawColor(SPEEDOMETER[playerid], color);
Reply


Messages In This Thread
Setting a textdraws Color - by Antonio [G-RP] - 26.01.2011, 23:41
Re: Setting a textdraws Color - by Vince - 26.01.2011, 23:44
Re: Setting a textdraws Color - by admantis - 26.01.2011, 23:58
Re: Setting a textdraws Color - by Antonio [G-RP] - 27.01.2011, 00:01
Re: Setting a textdraws Color - by A.Bowers - 27.01.2011, 00:07
Re: Setting a textdraws Color - by Krx17 - 27.01.2011, 00:09
Re: Setting a textdraws Color - by iggy1 - 27.01.2011, 00:10
Re: Setting a textdraws Color - by Antonio [G-RP] - 27.01.2011, 00:27
Re: Setting a textdraws Color - by Krx17 - 27.01.2011, 00:29
Re: Setting a textdraws Color - by Antonio [G-RP] - 27.01.2011, 02:48

Forum Jump:


Users browsing this thread: 2 Guest(s)