08.01.2011, 13:14
Hey guys. I have a script and two Textdraws should show up.
But one of them works.
Please help.
I want both of them to show up
But one of them works.
pawn Код:
public energytimer()
{
for(new i; i<MAX_PLAYERS; i++)
{
new Float:health;
GetPlayerHealth(i,health);
if(energy[i]>=5)
{
SetPlayerHealth(i,energy[i]-5);
TextDrawShowForPlayer(i,noenergy[0]);
TextDrawShowForPlayer(i,noenergy[1]);
}
else
{
}
}
return 1;
}
I want both of them to show up