3d label
#1

hi can someone help me on putting a 3d label on top of the player when loggin

like on my gamemode is about gangwarz and i want to put a label in top of every player with the color and name of the gang like this


pawn Код:
public OnPlayerSpawn(playerid)
{
  new rand = random( 5 );
  SetPlayerInterior( playerid, 0 );
  SetPlayerToTeamColor( playerid );



with this example



pawn Код:
new Text3D:label[MAX_PLAYERS];
 
public OnPlayerConnect(playerid)
{
  label[playerid] = Create3DTextLabel("vagos gangmember!",0x008080FF,30.0,40.0,50.0,40.0,0);
  Attach3DTextLabelToPlayer(label[playerid], playerid, 0.0, 0.0, 0.7);
  return 1;
}
 
public OnPlayerDisconnect(playerid, reason)
{
  Delete3DTextLabel(label[playerid]);
  return 1;
}
if someone can help me on makin this for me so every player will login with the gang that he is in on top of his head i will apreciate it cuz ma pano skillz suck
Reply


Messages In This Thread
3d label - by MEXICAN_NORTE - 15.02.2010, 03:00
Re: 3d label - by mansonh - 15.02.2010, 03:21
Re: 3d label - by MEXICAN_NORTE - 15.02.2010, 03:25
Re: 3d label - by mansonh - 15.02.2010, 03:28
Re: 3d label - by MEXICAN_NORTE - 15.02.2010, 03:30
Re: 3d label - by MEXICAN_NORTE - 15.02.2010, 03:36
Re: 3d label - by mansonh - 15.02.2010, 03:46
Re: 3d label - by MEXICAN_NORTE - 15.02.2010, 03:53
Re: 3d label - by mansonh - 15.02.2010, 03:56
Re: 3d label - by MEXICAN_NORTE - 15.02.2010, 04:04

Forum Jump:


Users browsing this thread: 4 Guest(s)