Textdraws string, information showing
#10

Quote:
Originally Posted by Whatname
Посмотреть сообщение
new playerid; wtf?!?!?!?

also it should be player text because global textdraws will show the string of player id 0

PHP код:
forward Update(); 
public 
Update()
{
    new 
Float:Health;
    new 
Float:Armour;
    new New[
8], New2[8];
    for(new 
0GetMaxPlayers(); ++)
    {
        if(!
IsPlayerConnected(i) || IsPlayerNPC(i)) continue;
        
GetPlayerHealth(iHealth);
        
GetPlayerArmour(iArmour);
        
format(New, sizeof(New), "%0.2f"Health);
        
PlayerTextDrawSetString(playeridTextdraw1, New);
        
format(New2sizeof(New2), "%0.2f"Armour);
        
PlayerTextDrawSetString(playeridTextdraw3New2);
    }
    return 
1;

Its still works fine, i don`t see any problem in my server.
Reply


Messages In This Thread
Textdraws string, information showing - by bogushas - 31.01.2014, 18:36
Re: Textdraws string, information showing - by Immortal_LTU - 31.01.2014, 18:39
Re: Textdraws string, information showing - by MrTinder - 31.01.2014, 18:43
Re: Textdraws string, information showing - by bogushas - 31.01.2014, 18:43
Re: Textdraws string, information showing - by Hoborific - 31.01.2014, 18:44
Re: Textdraws string, information showing - by bogushas - 31.01.2014, 18:48
Re: Textdraws string, information showing - by KingSenpai - 27.06.2017, 14:32
Re: Textdraws string, information showing - by Whatname - 27.06.2017, 14:38
Re: Textdraws string, information showing - by Whatname - 27.06.2017, 14:43
Re: Textdraws string, information showing - by KingSenpai - 27.06.2017, 15:01

Forum Jump:


Users browsing this thread: 1 Guest(s)