SA-MP Forums

Go Back   SA-MP Forums > Non-English > Languages > Português/Portuguese

Reply
 
Thread Tools Display Modes
Old 17/04/2018, 04:18 AM   #1
iWiNeR
Big Clucker
 
Join Date: Dec 2014
Location: Brasil
Posts: 129
Reputation: 0
Question Texdraw, tag mismatch

Boa noite, gostaria de saber o motivo desse warning.

São ao todo 12 Warnings (tag mismatch) referente as seguintes linhas

PHP Code:

        TextDrawHideForPlayer
(playeridtextdraw_0[playerid]);
        
TextDrawHideForPlayer(playeridtextdraw_1[playerid]);
        
TextDrawHideForPlayer(playeridtextdraw_2[playerid]);
        
TextDrawHideForPlayer(playeridtextdraw_3[playerid]);
        
TextDrawHideForPlayer(playeridtextdraw_4[playerid]);
        
TextDrawHideForPlayer(playeridtextdraw_5[playerid]);
        
TextDrawHideForPlayer(playeridtextdraw_6[playerid]);
        
TextDrawHideForPlayer(playeridtextdraw_7[playerid]);
        
TextDrawHideForPlayer(playeridtextdraw_8[playerid]);
        
TextDrawHideForPlayer(playeridtextdraw_9[playerid]);
        
TextDrawHideForPlayer(playeridtextdraw_10[playerid]);
        
TextDrawHideForPlayer(playeridtextdraw_11[playerid]); 
Agradeço a ajuda desde já.
__________________
Code:
   Space RP
iWiNeR is offline   Reply With Quote
Old 17/04/2018, 04:29 AM   #2
GabrielCOP
Big Clucker
 
GabrielCOP's Avatar
 
Join Date: May 2014
Location: São José do Rio Preto - SP
Posts: 153
Reputation: 25
Default Re: Texdraw, tag mismatch

Em new textdraw_(ID), use new Text:textdraw_(ID).
GabrielCOP is offline   Reply With Quote
Old 17/04/2018, 04:34 AM   #3
iWiNeR
Big Clucker
 
Join Date: Dec 2014
Location: Brasil
Posts: 129
Reputation: 0
Default Re: Texdraw, tag mismatch

Quote:
Originally Posted by GabrielCOP View Post
Em new textdraw_(ID), use new Text:textdraw_(ID).
Estou usando

PHP Code:
new PlayerText:textdraw_0[MAX_PLAYERS]; 
Quando troco pra new Text os avisos só Duplicam
__________________
Code:
   Space RP
iWiNeR is offline   Reply With Quote
Old 17/04/2018, 11:23 AM   #4
arakuta
High-roller
 
arakuta's Avatar
 
Join Date: Jan 2011
Location: Itajaí - Brazil
Posts: 2,192
Reputation: 182
Default Re: Texdraw, tag mismatch

As textdraws são per-player então? Utilize então: http://wiki.sa-mp.com/wiki/PlayerTextDrawHide
arakuta is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[HELP] Texdraw tag mismatch? D1am0nd Scripting Help 3 01/02/2016 01:22 PM
Texdraw Help DAVIDXP Scripting Help 3 22/12/2012 01:59 PM
Texdraw Help +rep Beljulji Scripting Help 34 09/10/2012 09:14 AM
Help with texdraw. Aivaras_Vercetti Scripting Help 2 07/08/2012 09:34 AM


All times are GMT. The time now is 08:26 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.