08.04.2017, 00:45
PHP код:
for(new i = 0; i<MAX_PLAYERS; ++i)
{
if(!IsPlayerNPC(i)) {
format(str,sizeof(str),"Level: %d",Player[playerid][pLevel]);
LevelPlayer = Create3DTextLabel(str, COR_BRANCO, 30.0, 40.0, 50.0, 40.0, 0);
Attach3DTextLabelToPlayer(LevelPlayer,i,0.0, 0.0, 0.7);
SetTimer("update",1000,1);
}
}