Jump to content
Sign in to follow this  
Mario Gabriel

Problema compilare

Recommended Posts

Salut, sunt incepator in scripting samp si ma chinuie niste erori, va las mai jos si liniile si erorrile, multumesc! Incerc sa fac register/login ca Edison dar nu-mi iese..

Errori: C:\Users\Darkee\Desktop\sv\pawno\new.pwn(11) : error 001: expected token: ";", but found "new"
C:\Users\Darkee\Desktop\sv\pawno\new.pwn(66) : error 035: argument type mismatch (argument 3)
C:\Users\Darkee\Desktop\sv\pawno\new.pwn(66) : error 001: expected token: ";", but found ")"
C:\Users\Darkee\Desktop\sv\pawno\new.pwn(66) : error 029: invalid expression, assumed zero
C:\Users\Darkee\Desktop\sv\pawno\new.pwn(66) : fatal error 107: too many error messages on one line

Linii: 11: new
                        incercariParola[MAX_PLAYERS];

66:     mysql_format(SQL, gQuery, string(gQuery), "SELECT * FROM `users` WHERE `Name` = `%s` LIMIT 1" GetName(playerid))

Share this post


Link to post
Share on other sites
Acum 24 minute, Mario Gabriel a spus:

Salut, sunt incepator in scripting samp si ma chinuie niste erori, va las mai jos si liniile si erorrile, multumesc! Incerc sa fac register/login ca Edison dar nu-mi iese..

Errori: C:\Users\Darkee\Desktop\sv\pawno\new.pwn(11) : error 001: expected token: ";", but found "new"
C:\Users\Darkee\Desktop\sv\pawno\new.pwn(66) : error 035: argument type mismatch (argument 3)
C:\Users\Darkee\Desktop\sv\pawno\new.pwn(66) : error 001: expected token: ";", but found ")"
C:\Users\Darkee\Desktop\sv\pawno\new.pwn(66) : error 029: invalid expression, assumed zero
C:\Users\Darkee\Desktop\sv\pawno\new.pwn(66) : fatal error 107: too many error messages on one line

Linii: 11: new
                        incercariParola[MAX_PLAYERS];

66:     mysql_format(SQL, gQuery, string(gQuery), "SELECT * FROM `users` WHERE `Name` = `%s` LIMIT 1" GetName(playerid))

Salut.

 

La linia 11 unde ai 'new' incearca sa ai spatiu intre 'new si incercariparola'.

new incercariParola[MAX_PLAYERS];

Si la linia 66 la final de tot pune punct si virgula.

;

 

  • Like 1

Ce inseamna cuvantul "Unic" este atunci cand Chestia / Obiectul / Idea / etc... nu exista in alta parte.

Copii nu mai veniti cu vorba de "Am gamemode unic" nu exista asa ceva, la ora actuala totul este pe net.

Aveti grija pe cine ajutati, majoritatea sunt caini.

Share this post


Link to post
Share on other sites

new  incercariParola[MAX_PLAYERS];


c.e.o your-code.ro

Share this post


Link to post
Share on other sites

Multumesc, am sa incerc. Daca exista vreo problema revin cu edit.

Edit: Erorrile : C:\Users\Darkee\Desktop\sv\pawno\new.pwn(11) : error 001: expected token: ";", but found "new"
C:\Users\Darkee\Desktop\sv\new.pwn(65) : error 035: argument type mismatch (argument 3)
C:\Users\Darkee\Desktop\sv\pawno\new.pwn(65) : error 001: expected token: ";", but found ")"
C:\Users\Darkee\Desktop\sv\pawno\new.pwn(65) : error 029: invalid expression, assumed zero
C:\Users\Darkee\Desktop\sv\pawno\new.pwn(65) : fatal error 107: too many error messages on one line

Linita 65:         mysql_format(SQL, gQuery, sizeof(gQuery), "SELECT * FROM `users` WHERE `Name` = `%s` LIMIT 1" GetName(playerid));

Si am observat ca linia 66 avea ";" la sfarsit, linia 65 nu avea din cate am vazut, i-am pus si dupa mi-a dat erorrile de mai sus...

Edit 2: Am rezolvat linia 11, era doar o problema ca nu pusesem la sfarsit-ul liniei 6 ";" acum mai am doar pe 65..

Edit 3: Am cautat ceva si am rezolvat, oricum multumesc de ajutor, puteti de t/c.

Edited by Mario Gabriel
  • Like 1

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...

Important Information

This site uses cookies. By continuing browsing, you agree to the use of this information. For more details, see Terms of Use and Privacy Policy.