Erre fele keresgélj ...
public vitals()
Stringet állítgatom ide oda, de nem haladok egyrõl a kettõre.
public vitals()
{
for(new i = 0; i <= MAX_PLAYERS; i++)
{
new string[255];
new Float:qHealth, Float:qArmour, Float:Ehseg1, Float:Szomjusag1, Float:Wc1, Float:Szint1;
GetPlayerHealth(i,qHealth);
GetPlayerArmour(i,qArmour);
Ehseg1 = PlayerInfo[eseg];
Szomjusag1 = PlayerInfo[szomjas];
Wc1 = PlayerInfo[szukseg];
Szint1 = PlayerInfo[pLevel];
format(string, sizeof(string), \"%.0f%\", qHealth);
TextDrawSetString(Health, string);
format(string, sizeof(string), \"%.0f%\", qArmour);
TextDrawSetString(Armour, string);
format(string, sizeof(string), \"%.0f%\", Ehseg1);
TextDrawSetString(Ehseg, string);
format(string, sizeof(string), \"%.0f%\", Szomjusag1);
TextDrawSetString(Szomjusag, string);
format(string, sizeof(string), \"%.0f%\", Wc1);
TextDrawSetString(Wc, string);
format(string, sizeof(string), \"%.0f\", Szint1);
TextDrawSetString(Szint, string);
}
}