[Ajuda] Attach3DTextLabelToPlayer
#2

Tem que fazer um loop.

pawn Код:
//OnPlayerSpaw//
for(new i; i < MAX_PLAYERS; i++;)
{
    new string[256];
    format(string,sizeof(string),"Level: %d EXP: %d Estudo: %d",dini_Int(file,"Level"),dini_Int(file,"EXP"),dini_Int(file,"Faculdade"));
    status = Create3DTextLabel(string,0x0000ffff,30.0,40.0,50.0,40.0,0);
    Attach3DTextLabelToPlayer(status,i,0,0,0.7);
    SetTimer("update",1000,1);
}
///////////////////////
Cara no dini_Int seria melor usar uma variavel de informaзхes dobre o player.
Reply


Messages In This Thread
[Ajuda] Attach3DTextLabelToPlayer - by Vinicius DarK - 23.05.2011, 14:10
Re: [Ajuda] Attach3DTextLabelToPlayer - by deregudegu - 23.05.2011, 15:51
Re: [Ajuda] Attach3DTextLabelToPlayer - by Macintosh - 23.05.2011, 15:54

Forum Jump:


Users browsing this thread: 1 Guest(s)