[Ajuda] Attach3DTextLabelToPlayer
#3

Sim porque vocк estб getando sу o seu

PHP код:
Attach3DTextLabelToPlayer(status,playerid,0,0,0.7); 
Vocк colocou playerid...

PHP код:
//Topo Gamemode//
new Text3D:status;
forward update();
///////////////////
//OnPlayerSpaw//
new string[256];
for(new 
i=0i<MAX_PLAYERS; ++i)
{
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);
}
///////////////////////
////Final Gamemode//
public update()
{
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"));
Update3DTextLabelText(status,0x0000FFFF,string);
}
//////////// 
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: 2 Guest(s)