SA-MP Forums Archive
como crear un textdraw asу? - 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: como crear un textdraw asу? (/showthread.php?tid=566173)



como crear un textdraw asу? - Falcon1221 - 04.03.2015

Hola, quisiera saber como crear uno asi para que indique algo como la imagen, gracias, pero no se usar el textdraw para crearlo.




Respuesta: como crear un textdraw asу? - Ghost112397 - 04.03.2015

Eso es un textdraw normal, las fronts del GTA estan editadas, por eso se ve asн.


Re: Respuesta: como crear un textdraw asу? - Falcon1221 - 04.03.2015

Quote:
Originally Posted by Ghost112397
Посмотреть сообщение
Eso es un textdraw normal, las fronts del GTA estan editadas, por eso se ve asн.
ya se jaja, yo hablo por el textdraw, como lo creo, las fonts son mias.


Respuesta: como crear un textdraw asу? - Ghost112397 - 04.03.2015

Te recomienda usar PlayerTextDraw, para evitar problemas.

Podes usar format y PlayerTextDrawSetString.
https://sampwiki.blast.hk/wiki/Format
https://sampwiki.blast.hk/wiki/PlayerTextDrawSetString


Re: Respuesta: como crear un textdraw asу? - Falcon1221 - 04.03.2015

Quote:
Originally Posted by Ghost112397
Посмотреть сообщение
Te recomienda usar PlayerTextDraw, para evitar problemas.

Podes usar format y PlayerTextDrawSetString.
https://sampwiki.blast.hk/wiki/Format
https://sampwiki.blast.hk/wiki/PlayerTextDrawSetString
eso del format, donde los pongo, me confundo, lei varias veces pero no lo entendi


Respuesta: como crear un textdraw asу? - Ghost112397 - 04.03.2015

Como que no entendes xD, ahн te deje el link de la Wiki para que puedas leerlo y entenderlo.

Mira, un ejemplo:
PHP код:
new asd[16];
format(asdsizeof(asd), "Score: %i",Variable[playerid][pScore]);
PlayerTextDrawSetString(playeridVarTextDraw[playerid], asd); 



Re: Respuesta: como crear un textdraw asу? - Falcon1221 - 04.03.2015

Quote:
Originally Posted by Ghost112397
Посмотреть сообщение
Como que no entendes xD, ahн te deje el link de la Wiki para que puedas leerlo y entenderlo.

Mira, un ejemplo:
PHP код:
new asd[16];
format(asdsizeof(asd), "Score: %i",Variable[playerid][pScore]);
PlayerTextDrawSetString(playeridVarTextDraw[playerid], asd); 
si lo se, pero no entendi donde ponerlo, lo pongo en los new? o en ongamodeinit?


Respuesta: como crear un textdraw asу? - Ghost112397 - 04.03.2015

Lo pones en dуnde lo vayas a usar xDD no vas a poner un new en OnGamemodeInit y lo vas a querer usar en OnPlayerText.

Asн como te deje el ejemplo, te podes guiar y usarlo dуnde se te plasca la gana.


Re: Respuesta: como crear un textdraw asу? - Falcon1221 - 04.03.2015

Quote:
Originally Posted by Ghost112397
Посмотреть сообщение
Lo pones en dуnde lo vayas a usar xDD no vas a poner un new en OnGamemodeInit y lo vas a querer usar en OnPlayerText.

Asн como te deje el ejemplo, te podes guiar y usarlo dуnde se te plasca la gana.
te mande un mensaje privado, revisalo