Creating a TextDrawBox
#1

So basicly i want to have a textdrawbox in lower middle of screen of these specs but i dunno how to do it so im requesting your help guys :/
Like this:


I would be glad if you could create a base for it. If you are willing to recive rep for creating it i will give you.

Reason why im requestig this is that im using these atm and they dont wan't to be ran all at the same time.

PHP код:
// Speedometer
        
if(Speedo[playerid] && IsPlayerInAnyVehicle(playerid) && GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
        {
            new 
string[64], speed GetVehicleSpeed(GetPlayerVehicleID(playerid), 0);
            
format(string,sizeof(string),"~n~~n~~n~~n~~n~~n~~n~~n~~r~Speedometer: ~w~%d MPH"speed);
            
GameTextForPlayer(playeridstring,10003);
        }
    
// Fuel
        
if(fMeter[playerid] && IsPlayerInAnyVehicle(playerid) && GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
        {
            new 
string[64];
            
format(string,sizeof(string),"~n~~n~~n~~n~~n~~n~~n~~n~~r~Fuel: ~w~%d%"Fuel[GetPlayerVehicleID(playerid)]);
            
GameTextForPlayer(playeridstring,10003);
        } 
Reply
#2

Heard of ******,*******? :P

You should use it before you post
Reply
#3

Well sometimes when i check wiki i wan't to stop scripting cuz wiki is mostly a mindfuck lol.
Reply
#4

There are some tools which does it for you.
Reply
#5

Rduy can you give me one for example ?
Reply
#6

Quote:
Originally Posted by weedxd
Посмотреть сообщение
Well sometimes when i check wiki i wan't to stop scripting cuz wiki is mostly a mindfuck lol.
lool ikr
Reply
#7

Umm i dunno how to do this even tho i found a box creator ;c
Reply
#8

Here's Ipleomax's textdraw creator, all you need is to read the information, upload the script to your server and start creating your textdraw. It's simple. http://forum.sa-mp.com/showthread.ph...light=ipleomax
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)