17.07.2016, 20:00
Hello, can someone tell me how to fix these errors:-
Here's the code:-
PHP код:
D:\roleplay\[GAMEMODE]\filterscripts\PhoneSystem.pwn(75) : error 017: undefined symbol "mysql_log"
D:\roleplay\[GAMEMODE]\filterscripts\PhoneSystem.pwn(2103) : error 035: argument type mismatch (argument 3)
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
2 Errors.
PHP код:
public OnFilterScriptInit()
{
mysql_log(LOG_ERROR | LOG_WARNING); //>>>>>>>>>>>>>>>>LINE 75
mysql = mysql_connect(MYSQL_HOST, MYSQL_USER, MYSQL_DATABASE, MYSQL_PASSWORD);
if(mysql_errno() != 0)
{
PHP код:
new query[180];
mysql_format(mysql, query, sizeof(query), "SELECT * FROM `mobile`", "LoadNumbers", "i", playerid); >>>>>>>line 2103
return 1;
}