21.03.2010, 16:42
keep getiing this error
This is the script
please help
Quote:
C:\DOCUME~1\JUSTIN~1\BUREAU~1\SG\gtarp.pwn(11340) : error 029: invalid expression, assumed zero C:\DOCUME~1\JUSTIN~1\BUREAU~1\SG\gtarp.pwn(11340) : error 017: undefined symbol "ConnectMySQL" C:\DOCUME~1\JUSTIN~1\BUREAU~1\SG\gtarp.pwn(11341) : error 029: invalid expression, assumed zero C:\DOCUME~1\JUSTIN~1\BUREAU~1\SG\gtarp.pwn(11341) : error 017: undefined symbol "ConnectMySQL" |
Quote:
forward ConnectMySQL(); public ConnectMySQL() { if(mysql_connect(SQL_HOST,SQL_USER,SQL_DB,SQL_PASS )) { mysql_debug(1); printf("[MYSQL]: Connection to `%s` succesful!",SQL_DB); } else { printf("[MYSQL]: [ERROR]: Connection to `%s` failed!",SQL_DB); } return 1; } } |