їComo serнa?
#5

Quote:
Originally Posted by jwalker
Посмотреть сообщение
Y si quiero que el label sea pegado al jugador? Reemplazo create3dtextlabel por attach3dtextlabeltoplayer?
Lo que quieres hacer es el nombre del jugador en una 3DTextLabel pegada a йl? te explico:

pawn Код:
new LabelText[MAX_PLAYER_NAME], Text3D:NLabel[MAX_PLAYERS]; //Text3D = Tag para definir que NLabel es un 3DText.

format(LabelText, sizeof(LabelText), "%s", NombreJugador(playerid)); //Usamos format para hacer que LabelText contenga el nombre del jugador.

NLabel[playerid] = Create3DTextLabel(LabelText, 0x008080FF, 30.0, 40.0, 50.0, 40.0, 0); //NLabel serб el 3DTextLabel que creamos especнficamente para el jugador.

Attach3DTextLabelToPlayer(NLabel[playerid], playerid, 0.0, 0.0, 0.7); //Le pegamos el Label (NLabel, el que contiene el nombre del jugador) al jugador.
Perdуn si no me expliquй bien o si no entendiste, lo intentй hacer lo mбs comprensible posible.
Reply


Messages In This Thread
їComo serнa? - by jwalker - 14.04.2013, 03:11
Respuesta: їComo serнa? - by sonnkz - 14.04.2013, 03:17
Respuesta: їComo serнa? - by jwalker - 14.04.2013, 03:24
Respuesta: їComo serнa? - by sonnkz - 14.04.2013, 03:37
Respuesta: їComo serнa? - by EduGTA - 14.04.2013, 03:38
Respuesta: їComo serнa? - by jwalker - 14.04.2013, 03:46
Respuesta: їComo serнa? - by DesingMyCry - 14.04.2013, 04:45
Respuesta: їComo serнa? - by jwalker - 14.04.2013, 22:31
Respuesta: їComo serнa? - by WCrimson - 14.04.2013, 22:51
Respuesta: їComo serнa? - by DesingMyCry - 15.04.2013, 05:51

Forum Jump:


Users browsing this thread: 1 Guest(s)