Jump to content
  • 0

Problema Tag Mismatch


Maddo

Question

Problema intalnita (descriere): Error 213 tag mismatch
Ero(area / rile) / warning-(ul / urile): Am un singur warning
Liniile de cod / sursa / script-ul(obligatoriu): TextDrawShowForPlayer(playerid, TDEdit_TD);
Imagini / Video (optional):  http://imgur.com/oMSSlUZ 
Ati incercat sa rezolvati singur?: Da, pentru ca este doar un textdraw, a avut multe erori la inceput, si le-am rezolvat incet, incet...Si mai am de rezolvat doar aceasta eroare(warning)

Link to comment
Share on other sites

10 answers to this question

Recommended Posts

  • 1

Poate ai creat textdraw pentru mai multi playeri deci trebuie sa pui

TDedit_td [playerid]

Edited by Mister

 

    __  ____      __           
   /  |/  (_)____/ /____  _____
  / /|_/ / / ___/ __/ _ \/ ___/
 / /  / / (__  ) /_/  __/ /    
/_/  /_/_/____/\__/\___/_/     
SERVICII SCRIPTING DE CALITATE
Pagina     Scripting     pawn
Link to comment
Share on other sites

  • 0

Am inlocuit acea linie asa TextDrawShowForPlayer(TDEdit_TD[playerid]); si da mai multe erori... Help

C:\Users\x\Desktop\alfabetul.pwn(4210) : error 017: undefined symbol "TDedit_td"
C:\Users\x\Desktop\alfabetul.pwn(4210) : warning 215: expression has no effect
C:\Users\x\Desktop\alfabetul.pwn(4210) : error 001: expected token: ";", but found "]"
C:\Users\x\Desktop\alfabetul.pwn(4210) : error 029: invalid expression, assumed zero
C:\Users\x\Desktop\alfabetul.pwn(4210) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664              Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.


Acestea sunt dupa ce schimb linia

Link to comment
Share on other sites

  • 0
  • 0

Totul e facut corect la OnPlayerConnect... In loc sa-mi apare TD-ul, imi apare un fel de box negru transparent in dreapta sus, cu un nume la nimereala de pe server...

TextDrawShowForPlayer(playerid, Textdraw1);

TextDrawShowForPlayer(playerid, Textdraw2);

TextDrawShowForPlayer(playerid, Textdraw3);

TextDrawShowForPlayer(playerid, Textdraw4);

Eu unul zic ca e bine...

Link to comment
Share on other sites

  • 0
  • 0

Deci fi atent iti mai explic eu odata...

Tu ai new Text: Textdraw0;

Tu modifica din Textdraw0 pune si tu un nume,spre exemplu CeasTXT(Cum a spus wilduak)

Cu sufixul [MAX_PLAYERS] la sfarsit.

Deci codul ar arata asa dupa ce l-ai modificat tu.

new Text:CeasTXT[MAX_PLAYERS];

Bun,acum ca ai denumit pentru un singur player td-ul x mergem mai departe la OnPlayerConnect,unde ai tu ceva de genul:

TextDraw0 = TextDrawCreate(.....);

Tu transformi din TextDraw0 in CeasTXT[playerid] = TextDrawCreate(....);

Ar trebui sa arate asa dupa ce modifici.

CeasTXT[playerid] = TextDrawCreate(....);

 

Succes!

 

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.