SA-MP Forums Archive
Creating a TextDrawBox - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Creating a TextDrawBox (/showthread.php?tid=540347)



Creating a TextDrawBox - weedxd - 04.10.2014

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);
        } 



Re: Creating a TextDrawBox - YanLanger - 04.10.2014

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

You should use it before you post


Re: Creating a TextDrawBox - weedxd - 04.10.2014

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


Re: Creating a TextDrawBox - Rudy_ - 04.10.2014

There are some tools which does it for you.


Re: Creating a TextDrawBox - weedxd - 04.10.2014

Rduy can you give me one for example ?


Re: Creating a TextDrawBox - YanLanger - 04.10.2014

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


Re: Creating a TextDrawBox - weedxd - 04.10.2014

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


Re: Creating a TextDrawBox - extror3 - 04.10.2014

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