[Ajuda] Level pegando no NPC.
#1

Bom esse pequeno sistema ele nгo esta pegando acima do nick dos jogadores, apenas nos NPC, jб tentei de algumas formas resolver este problemas mas nгo conseguir por acima do nick dos jogadores!

Inicio
PHP код:
new Text3D:LevelPlayer; 
OnPlayerSpawn
PHP код:
for(new i=0; i<MAX_PLAYERS; ++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);
} 
Final
PHP код:
forward update();
public 
update()
{
new 
str[256], playerid;
format(str,sizeof(str),"Level: %d",Player[playerid][pLevel]);
Update3DTextLabelText(LevelPlayer, COR_BRANCO,str);
} 
Reply


Messages In This Thread
Level pegando no NPC. - by JhefTFJ - 08.04.2017, 00:29
Re: Level pegando no NPC. - by HoodScript - 08.04.2017, 00:43
Re: Level pegando no NPC. - by [BOPE]Seu._.Madruga - 08.04.2017, 00:45
Re: Level pegando no NPC. - by [BOPE]Seu._.Madruga - 08.04.2017, 00:52
Re: Level pegando no NPC. - by JhefTFJ - 08.04.2017, 01:17

Forum Jump:


Users browsing this thread: 1 Guest(s)