SA-MP Forums Archive
[Ajuda] Prevenir crash 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: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] Prevenir crash TextDraw (/showthread.php?tid=488151)



Prevenir crash TextDraw - connork - 16.01.2014

Olб, tem algum mйtodo de prevenir o crash por uma textdraw, em um comando "/divulgar [texto]".
Acontece do jogador errar nas "definiзхes" (~r~, ~g~...) entгo teria como prevenir esse crash? Anunciar mas nгo crashar, jб tentei pegar o nъmero de "~" da string e conferir se й impa ou par, porйm se usar "~ r ~" ainda crasha.


Re: Prevenir crash TextDraw - SeV_ - 16.01.2014

Й possivel, porйm recomendo vocк fazer anuncios via SendClientMessage para nгo ter mais erros.

use algo chamativo:

"**[ANUNCIO]: Fulano > Vendo casa slб o que!"


Respuesta: Prevenir crash TextDraw - connork - 16.01.2014

O anuncio й para administraзгo, em caso de evento, etc.


Respuesta: Prevenir crash TextDraw - connork - 16.01.2014

Jб consegui fazer, obrigado.