Jump to content

Recommended Posts

Posted

C:/Users/Hawai/OneDrive/Desktop/GM PRINCIPAL/gamemodes/main.pwn(84) : error 035: argument type mismatch (argument 1)
C:/Users/Hawai/OneDrive/Desktop/GM PRINCIPAL/gamemodes/main.pwn(84) : warning 213: tag mismatch: expected tag "MySql", but found none ("_")
C:/Users/Hawai/OneDrive/Desktop/GM PRINCIPAL/gamemodes/main.pwn(108) : warning 236: unknown parameter in substitution (incorrect #define pattern)
C:/Users/Hawai/OneDrive/Desktop/GM PRINCIPAL/gamemodes/main.pwn(108) : warning 236: unknown parameter in substitution (incorrect #define pattern)
C:/Users/Hawai/OneDrive/Desktop/GM PRINCIPAL/gamemodes/main.pwn(108) : warning 213: tag mismatch: expected tag "MySQL", but found "MySql"
C:/Users/Hawai/OneDrive/Desktop/GM PRINCIPAL/gamemodes/main.pwn(108) : error 029: invalid expression, assumed zero
C:/Users/Hawai/OneDrive/Desktop/GM PRINCIPAL/gamemodes/main.pwn(108) : error 029: invalid expression, assumed zero
C:/Users/Hawai/OneDrive/Desktop/GM PRINCIPAL/gamemodes/main.pwn(108) : warning 215: expression has no effect
C:/Users/Hawai/OneDrive/Desktop/GM PRINCIPAL/gamemodes/main.pwn(108) : error 001: expected token: ";", but found "]"
C:/Users/Hawai/OneDrive/Desktop/GM PRINCIPAL/gamemodes/main.pwn(108) : fatal error 107: too many error messages on one line

Compilation aborted.

Pawn compiler 3.10.10              Copyright (c) 1997-2006, ITB CompuPhase


5 Errors.
[Finished in 939ms]  

 

fac un sistem de register si login cu o baza de date si vr sa dau compile da nu merge, v-am lasat erorile mai sus daca m-ar putea  ajuta cnv as-i fii recunoscator

Posted

SQL = mysql_format("localhost", "root", "", "GM_PRINCIPAL");     {84}

 

mysql_format(SQL, gQuery, 128, "select = from accounts where Name = '%s' limit 1", GetName((playerid);    {108}
    mysql_tquery(SQL, gQuery, "checkAccount", "i", playerid);     {109}

Posted

Salut, arata unde ai definit hande-ul (variabila SQL) , expected tag "MySQL", but found "MySql" aceasta eroare ti-o da probabil ca ai definit in felul urmator

new MySql:SQL // varianta incorecta

new MySQL:SQL // varianta buna

incearca sa te corectezi acolo si vezi ce erori iti mai da

Posted (edited)
5 minutes ago, Smulyz said:

SQL = mysql_format("localhost", "root", "", "GM_PRINCIPAL");     {84}

 

mysql_format(SQL, gQuery, 128, "select = from accounts where Name = '%s' limit 1", GetName((playerid);    {108}
    mysql_tquery(SQL, gQuery, "checkAccount", "i", playerid);     {109}

la 108 de ce ai pus GetName((playerid)? Trebuia sa pui GetName(playerid), doar cu o paranteza

 

EDIT: si are dreptate vicentzo-

Edited by Shad0wdpbgd
Posted
47 minutes ago, Vicentzo- said:

Salut, arata unde ai definit hande-ul (variabila SQL) , expected tag "MySQL", but found "MySql" aceasta eroare ti-o da probabil ca ai definit in felul urmator

new MySql:SQL // varianta incorecta

new MySQL:SQL // varianta buna

incearca sa te corectezi acolo si vezi ce erori iti mai da

new 
    MySql:SQL, Iterator:playerLogged<MAX_PLAYERS>, gQuery[1024], gString[1024];
daca la asta te referi

 

Posted
2 minutes ago, Smulyz said:

new 
    MySql:SQL, Iterator:playerLogged<MAX_PLAYERS>, gQuery[1024], gString[1024];
daca la asta te referi

 

trebuie sa scrii MySQL nu MySql

Posted

Cum ti-am spus si mai sus, greseala este ca ai scris MySql in loc de MySQL

Posted

M am corectat și tot îmi dă aceste erori sau poate am greșit eu îți dau acm ce am corectat

 

 

Posted

 MySQL_format(SQL, gQuery, 128, "select = from accounts where Name = '%s' limit 1", GetName(playerid);
    MySQL_tquery(SQL, gQuery, "checkAccount", "i", playerid);

 

Posted
18 minutes ago, Smulyz said:

 MySQL_format(SQL, gQuery, 128, "select = from accounts where Name = '%s' limit 1", GetName(playerid);
    MySQL_tquery(SQL, gQuery, "checkAccount", "i", playerid);

 

GetName(playerid));

incearca asa, trebe sa mearga

Posted

ba pai tu trebuie sa pui new MySQL:SQL acolo unde ai definit tu nu ce ai facut tu acolo

 

 "MySQL"_format(SQL, gQuery, 128, "select = from accounts where Name = '%s' limit 1", GetName(playerid);
    MySQL_tquery(SQL, gQuery, "checkAccount", "i", playerid);

aia nu are treaba

da mi un discord daca ai

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • 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.