3DTextLabels. -
arturo clark - 14.05.2011
їComo se crea un 3DTextLabel para un jugador? ya tratй con este ejemplo de Wiki:
pawn Код:
new PlayerText3D:playertextid;
new Float:X, Float:Y, Float:Z;
GetPlayerPos( playerid, X, Y, Z );
playertextid = CreatePlayer3DTextLabel(playerid,"Hello\nI'm at your position",0x008080FF,X,Y,Z,40.0) ;
Pero no funciona. Tambiйn tratй con este otro:
pawn Код:
new Ejem[MAX_PLAYERS];
Ejem[playerid] = Create3DTextLabel("I'm at the coordinates:\n30.0,40.0,50.0",0x008080FF,30.0,40.0,50.0,40.0,0);
Attach3DTextLabelToPlayer(Ejem[playerid], playerid, 0.0, 0.0, 0.7);
їSaben?
Respuesta: 3DTextLabels. -
Lunnatiicz - 14.05.2011
їPara un jugador?
pawn Код:
new Text3D:JugadorNuevo[MAX_PLAYERS];
public OnPlayerConnect(playerid)
{
JugadorNuevo[playerid] = Create3DTextLabel("ЎHola, recien empiezo!", 0x008080FF, 30.0, 40.0, 50.0, 40.0, 0);
Attach3DTextLabelToPlayer(JugadorNuevo[playerid], playerid, 0.0, 0.0, 0.7);
return 1;
}
https://sampwiki.blast.hk/wiki/Attach3DTextLabelToPlayer
Re: 3DTextLabels. -
arturo clark - 14.05.2011
Como que no funciona jaja D;
Edit: Estaba buscando en la secciуn de ingles como hacerlo, y la mayorнa de los posts coincidнan en que necesito un streamer.
Respuesta: 3DTextLabels. -
Lunnatiicz - 14.05.2011
usa un printf para testear
pawn Код:
new Text3D:JugadorNuevo[MAX_PLAYERS];
public OnPlayerConnect(playerid)
{
JugadorNuevo[playerid] = Create3DTextLabel("ЎHola, recien empiezo!", 0x008080FF, 30.0, 40.0, 50.0, 40.0, 0);
Attach3DTextLabelToPlayer(JugadorNuevo[playerid], playerid, 0.0, 0.0, 0.7);
printf("TextCreado");
return 1;
}
Re: 3DTextLabels. -
arturo clark - 14.05.2011
Esta bien.
Respuesta: Re: 3DTextLabels. -
Daniel-92 - 14.05.2011
Quote:
Originally Posted by arturo clark
Esta bien.
|
El texto solo lo pueden ver otros jugadores tu no podras verlo.
Respuesta: 3DTextLabels. -
SuperMarioRol - 14.05.2011
Lunna, para que usas printf? Si no usas parбmetros, usa print
Respuesta: 3DTextLabels. -
Lunnatiicz - 14.05.2011
Quote:
Originally Posted by SuperMarioRol
Lunna, para que usas printf? Si no usas parбmetros, usa print 
|
Tomemos en cuenta que estaba dormido xd
Un simple error D:
Saludos
Respuesta: 3DTextLabels. -
Code8976Man - 14.05.2011
Como te dijo Lunnatiicz deberнa funcionar, debes tomar en cuenta que tu no verбs tu propio label, osea que testea con otros jugadores o con bots.
Re: Respuesta: Re: 3DTextLabels. -
arturo clark - 15.05.2011
Quote:
Originally Posted by Daniel-92
El texto solo lo pueden ver otros jugadores tu no podras verlo.
|
Eso ya lo se xd
Edit: Si ya funciona.