Jump to content

Problema compilare


Mario Gabriel

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))

Link to comment
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 vorbe de "Am gamemode unic", nu exista asa ceva, la ora actuala totul este pe net.

Aveti grija pe cine ajutati, majoritatea sunt caini.

Link to comment
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
Link to comment
Share on other sites

  • Mister locked this topic
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.