SA-MP Forums Archive
[Error] TextDraws2 - 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: [Error] TextDraws2 (/showthread.php?tid=150502)



[Error] TextDraws2 - Sandman-x - 26.05.2010

Bueno, surge este problema de vuelta...

pawn Код:
new Text:Creditos1;

public OnPlayerRequestClass(playerid, classid)
{
    Creditos1 = TextDrawCreate(466.000000, 4.000000, "The Unforgiven TDM");
    TextDrawBackgroundColor(Creditos1, 255);
    TextDrawFont(Creditos1, 2);
    TextDrawLetterSize(Creditos1, 0.370000, 1.400000);
    TextDrawColor(Creditos1, 16711935);
    TextDrawSetOutline(Creditos1, 1);
    TextDrawSetProportional(Creditos1, 1);
return 1;
}

public OnPlayerRequestSpawn(playerid)
{
    TextDrawShowForPlayer(playerid,Creditos1);
return 1;
}
El problema es que en vez de aparecerme "The Unforgiven TDM",me aparece una "O" sola.

Espero que me ayuden, gracias


Re: [Error] TextDraws2 - xenowort - 26.05.2010

Todo ese codigo lo tenes que poner en Ongamemodeinit

pawn Код:
Creditos1 = TextDrawCreate(466.000000, 4.000000, "The Unforgiven TDM");
TextDrawBackgroundColor(Creditos1, 255);
TextDrawFont(Creditos1, 2);
TextDrawLetterSize(Creditos1, 0.370000, 1.400000);
TextDrawColor(Creditos1, 16711935);
TextDrawSetOutline(Creditos1, 1);
TextDrawSetProportional(Creditos1, 1);
Esto va en ongamemodeinit.

Ya tendria que funcionar




Re: [Error] TextDraws2 - Sandman-x - 26.05.2010

Solucionado. El problema era en el score. Termine haciendolo con SendClientMessage();
xD

Gracias, cerrado.