error 017: undefined symbol - 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: error 017: undefined symbol (
/showthread.php?tid=456041)
error 017: undefined symbol -
Sig Hansen - 04.08.2013
Famous error isn't it?
Код:
C:\Documents and Settings\Uporabnik\Desktop\NOPE\gamemodes\NOPE.pwn(9069) : error 017: undefined symbol "LGRGMYSQL_IP"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
Код:
public OnGameModeInit() {
AntiDeAMX();
SendRconCommand("hostname Project Roleplay - 0.3x - "SERVER_REVISION);
MapAndreas_Init(MAP_ANDREAS_MODE_FULL);
if(IsBETAServer())
g_iConnectionHandle[0] = mysql_connect(LGRGMYSQL_IP_BETA, LGRGMYSQL_USERNAME_BETA, LGRGMYSQL_DATABASE_BETA, LGRGMYSQL_PASS_BETA);
else
// THIS IS THE ERROR line // g_iConnectionHandle[0] = mysql_connect(LGRGMYSQL_IP, LGRGMYSQL_USERNAME, LGRGMYSQL_DATABASE, LGRGMYSQL_PASS);
Re: error 017: undefined symbol -
Macluawn - 04.08.2013
Have you defined what
lgrmysql_ip is?
Re: error 017: undefined symbol -
Sig Hansen - 04.08.2013
no. and i have no clue
Re: error 017: undefined symbol -
Black Wolf - 04.08.2013
#define LGRGMYSQL_IP IPhere i m sure its not there in the script.