20.03.2010, 11:09
You have to loop through all players.
I don't know the exact code you have in there, but it should be something like this:
I don't know the exact code you have in there, but it should be something like this:
pawn Код:
forward level2();
public level2()
{
for(new playerid=0; playerid<MAX_PLAYERS; playerid++)
{
if(IsPlayerConnected(playerid))
{
format(str, 256, "Level: %d Exp: %d/%d", blah, blah, blah);
Update3DTextLabelText(level[playerid],0xFFFF00AA,str);
}
}
}