SA-MP Forums Archive
Necesito ayuda con un textdraw - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Español/Spanish (https://sampforum.blast.hk/forumdisplay.php?fid=29)
+---- Thread: Necesito ayuda con un textdraw (/showthread.php?tid=548461)



Necesito ayuda con un textdraw - Dan2312 - 29.11.2014

public OnPlayerConnect(playerid)
{
new Text:TCJ;
TCJ = TextDrawCreate(20.0, 325.0, "THE CRAZY JUMPS");
TextDrawColor(TCJ, 0x0033FF);
TextDrawShowForAll(TCJ);
}
Tengo esto pero no me va bien ya que me aparece doble el texto......GrAcIaS::::::::::


Respuesta: Necesito ayuda con un textdraw - aoEXE - 29.11.2014

estб mal creado ese textdraw, deberнas crearlo en OnGameModeInit y mostrarlo a cada jugador cuando se conecte... asн:

pawn Код:
new Text:TCJ;

public OnGameModeInit()
{
    TCJ = TextDrawCreate(20.0, 325.0, "THE CRAZY JUMPS");
    TextDrawColor(TCJ, 0x0033FF);
    return 1;
}

public OnPlayerConnect(playerid)
{
    TextDrawShowForPlayer(playerid,TCJ);
    return 1;
}
Sale asн doble porque tiene sombra, colуcale la sombra a 0 en OnGameModeInit...

pawn Код:
TextDrawSetShadow(TCJ,0);



Respuesta: Necesito ayuda con un textdraw - Dan2312 - 29.11.2014

MUCHAS gracias, controlo bastante de scripts, pero en esto si que me pillas que no lo entiendo mucho, lo del texdraw