[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=0i<MAX_PLAYERS; ++i)
{
format(str,sizeof(str),"Level: %d",Player[playerid][pLevel]);
LevelPlayer Create3DTextLabel(strCOR_BRANCO30.040.050.040.00);
Attach3DTextLabelToPlayer(LevelPlayer,i,0.00.00.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(LevelPlayerCOR_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)