Jump to content
  • 0

Sistem logare MySql


Vendetta5.11

Question

9 answers to this question

Recommended Posts

  • 0

Ne trebuie codul. Nu putem vedea linia respectiva. Si nu putem sa iti putem repara greseala doar prin poza

 

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

  • 0
  • 0

Sunt incepator. Codul nu este ce este in gamemode?(daca da, l-am uploadat mai sus pe pastebin)...Am facut primul sistem de logare, cel simplu si a mers perfect. Acum am incercat sa-l pun pe asta cu e-mail, varsta, etc si imi da erori..... Se poate uita cineva in gm si sa mi spuna ce sa modific, sau sa-l modifice cineva si dupa sa-mi spuna ce am gresit?Nu am nevoie sa mi-l faca altcineva pentru ca nu voi invata nimic si asa imi va fi foarte greu. Vreau doar sa termin cu sistemul asta de login si sa trec la crearea factiunilor......urmez tutorialele tale in ordine WiDuAlK.SaMp, pentru a face un gm de la 0, dar ma bate sistemul de rigester/login.

Edited by Vendetta5.11
Link to comment
Share on other sites

  • 0
  • 0
mysql_format(handle, query, sizeof(query), "UPDATE `conturi` SET `RegisterStep`='%d' WHERE `Nume`='%e'", P_DATA[playerid][pRegisterStep], GetName(playerid));// se updateaza

Iar acestea sunt erorile pe lina 142.

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

 

Iar pe linia 128 am un warning.

 new query[100]; // definim query-ul 

C:\Users\PC\Desktop\SV\gamemodes\test1.pwn(128) : warning 219: local variable "query" shadows a variable at a preceding level

Este continuarea tutorialului tau: Tutorial Register/Login MYSQL R39 . Teoretic ar trebui sa merga dar nu inteleg de ce nu merge. Primul tutorial l-am facut in cateva minute si a functionat perfect. Am folosit mysql R39-3 a lui BlueG.

Edited by Vendetta5.11
Link to comment
Share on other sites

  • 0
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.