2 errors. - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: 2 errors. (
/showthread.php?tid=402598)
2 errors. -
Niekshyto - 27.12.2012
Hi everyone, can you help my? I having 2 errors.
Код:
mgrp_inc\mgrp_m.pwn(1346) : error 001: expected token: "-string end-", but found "-identifier-"
mgrp_inc\mgrp_m.pwn(1359) : error 001: expected token: "-string end-", but found "-identifier-"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
2 Errors.
Код:
mysql_connect ( MYSQL_HOST, MYSQL_USER, MYSQL_DB, MYSQL_PASS); // sita
mysql_connect ( MYSQL_HOST, MYSQL_USER, MYSQL_DB, MYSQL_PASS ); //
Re: 2 errors. -
ikey07 - 27.12.2012
Which mysql plugin you use?
try to type mysql_connect( and wait 1 sec, it should show correct values types
Re: 2 errors. -
park4bmx - 27.12.2012
pawn Код:
new connectionHandle = mysql_connect(MYSQL_HOST, MYSQL_USER, MYSQL_DB, MYSQL_PASS);
You need a connection handler as well.
Re: 2 errors. -
Niekshyto - 27.12.2012
Quote:
Originally Posted by park4bmx
pawn Код:
new connectionHandle = mysql_connect(MYSQL_HOST, MYSQL_USER, MYSQL_DB, MYSQL_PASS);
You need a connection handler as well.
|
Код:
mgrp_inc\mgrp_m.pwn(1346) : error 001: expected token: "-string end-", but found "-identifier-"
mgrp_inc\mgrp_m.pwn(1359) : warning 219: local variable "connectionHandle" shadows a variable at a preceding level
mgrp_inc\mgrp_m.pwn(1359) : error 001: expected token: "-string end-", but found "-identifier-"
mgrp_inc\mgrp_m.pwn(1359) : warning 204: symbol is assigned a value that is never used: "connectionHandle"
mgrp_inc\mgrp_m.pwn(1346) : warning 204: symbol is assigned a value that is never used: "connectionHandle"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
2 Errors.
https://sampforum.blast.hk/showthread.php?tid=122983 this im using
Re: 2 errors. -
park4bmx - 27.12.2012
then you dont need a connection hadle.
Re: 2 errors. -
Niekshyto - 27.12.2012
Okey, i fix that erros, now i have one error, when i connecting my server on vps.
Segmentation fault
what that means?