Jump to content
  • 0

Problema Textdraw-uri selectabile


BoBBiTa

Question

Problema intalnita (descriere): Dupa cum i-am spus si lui WiDuAlK.SaMp.

Ma apucasem mai demult sa fac un sistem de register/login pe textdraw-uri.. problema este ca imi zice ca Textid-ul este nedefinit si imi da cateva erori
Ero(area / rile) / warning-(ul / urile):

error 017: undefined symbol "playertextid"
error 017: undefined symbol "playertextid"
warning 215: expression has no effect
error 001: expected token: ";", but found "]"
error 029: invalid expression, assumed zero
fatal error 107: too many error messages on one line


Liniile de cod / sursa / script-ul(obligatoriu):

public OnPlayerClickPlayerTextDraw(playerid, PlayerText:playertextid)
{
  if(playertextid == Textdraw22[playerid])
  {
  ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_PASSWORD,"{C0FF00}Login","{FFFFFF}Scrie parola in casuta de mai jos \n pentru a te loga pe server.","Logare","Iesire");
  }
  if(playertextid == TextDraw5[playerid])
  {
  ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_INPUT,"{C0FF00}Inregistrare","{FFFFFF}Scrie parola in casuta de mai jos, pentru ","Inregistrare","Iesire");
  }
   return 1;
}

Imagini / Video (optional):
Ati incercat sa rezolvati singur?: Am incercat sa schimb numele la Variabila PlayerText:playertextid, dar tot aceasi belea e.. mentionez ca Sistemul de Register/Login este facut pe Y_INI.

EDIT: Am rezolvat.. Nu pusesem numele la variabile bine.. puteti da T/C

Edited by bobita

// Desenul meu animat 
// Alte episoade aici: 
https://www.youtube.com/channel/UCF2kY1CzhHI_PCyV5LprQ1w/videos

 

 

 

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

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.