[PEDIDO] Attach3DTextLabelToPlayer
#2

pawn Код:
new Text3D:label;

//OnGameMode INit
label = Create3DTextLabel("Score: %d",0xFFFFFFFF,x,y,z,VARIAVEL SCORE,LOS);

//OnPlayerSpawn
new spielern[MAX_PLAYER_NAME];
GetPlayerName(playerid,spielern,sizeof spielern);
label[playerid] = Create3DTextLabel(spielern,0xFFFFFFFF,x,y,z,VARIAVEL SCORE,LOS);
Attach3DTextLabelToPlayer(label[playerid], playerid, Float:OffsetX, Float:OffsetY, Float:OffsetZ)

//OnPlayerDIsconnect

Delete3DTextLabel(label[playerid]);
Reply


Messages In This Thread
[PEDIDO] Attach3DTextLabelToPlayer - by Delete_ - 15.02.2012, 12:10
Re: [PEDIDO] Attach3DTextLabelToPlayer - by [NC]BlackSky - 15.02.2012, 12:17
Re: [PEDIDO] Attach3DTextLabelToPlayer - by zbt - 15.02.2012, 12:24
Re: [PEDIDO] Attach3DTextLabelToPlayer - by |_MeGaTroN_| - 15.02.2012, 12:32

Forum Jump:


Users browsing this thread: 1 Guest(s)