[HELP] Textdraw
#1

I can't get it to be like the second picture help !!



Код:
                new String[128];
                new Float:X, Float:Y, Float:Z, Float:Speed;
                new vehicle = GetPlayerVehicleID(i);
                GetVehicleVelocity(GetPlayerVehicleID(i), X, Y, Z);
                Speed = floatmul(floatsqroot(floatadd(floatadd(floatpower(X, 2), floatpower(Y, 2)),  floatpower(Z, 2))), 100.0);
                format(String,sizeof(String),"~b~~n~~r~Fuel: ~w~%i~n~~r~Mp/h: ~w~%i", Gas[vehicle], floatround(Speed, floatround_floor));
                if(VHSCreated[i] == true)
                {
                    TextDrawDestroy(VHS[i]);
                }
                VHS[i] = TextDrawCreate(496.000000,100.000000,String);
                TextDrawFont(VHS[i],1);
                TextDrawLetterSize(VHS[i],0.360000, 1.000000);
                TextDrawColor(VHS[i],0xffffffff);
                TextDrawSetProportional(VHS[i],1);
                TextDrawSetShadow(VHS[i],1);
                TextDrawBackgroundColor(VHS[i], 255);
                TextDrawUseBox(VHS[i], 0);
                TextDrawShowForPlayer(i, VHS[i]);
                VHSCreated[i] = true;
Reply


Messages In This Thread
[HELP] Textdraw - by NotoriousMOB - 21.09.2010, 12:21
Re: [HELP] Textdraw - by Tekto - 21.09.2010, 12:22
Re: [HELP] Textdraw - by NotoriousMOB - 21.09.2010, 12:23
Re: [HELP] Textdraw - by NotoriousMOB - 21.09.2010, 13:14
Re: [HELP] Textdraw - by Tekto - 21.09.2010, 13:15
Re: [HELP] Textdraw - by NotoriousMOB - 21.09.2010, 13:22

Forum Jump:


Users browsing this thread: 1 Guest(s)