error 035: argument type mismatch (argument 3)
#1

Hello, can someone tell me how to fix these errors:-
PHP код:
D:\roleplay\[GAMEMODE]\filterscripts\PhoneSystem.pwn(75) : error 017undefined symbol "mysql_log"
D:\roleplay\[GAMEMODE]\filterscripts\PhoneSystem.pwn(2103) : error 035argument type mismatch (argument 3)
Pawn compiler 3.2.3664              Copyright (c1997-2006ITB CompuPhase
2 Errors

Here's the code:-
PHP код:
public OnFilterScriptInit()
{
    
mysql_log(LOG_ERROR LOG_WARNING);        //>>>>>>>>>>>>>>>>LINE 75
    
mysql mysql_connect(MYSQL_HOSTMYSQL_USERMYSQL_DATABASEMYSQL_PASSWORD);
    if(
mysql_errno() != 0)
    { 
PHP код:
    new query[180];
    
mysql_format(mysqlquerysizeof(query), "SELECT * FROM `mobile`""LoadNumbers""i"playerid);    >>>>>>>line 2103
    
return 1;

Reply
#2

Here you go:
Код:
mysql_log(LOG_ALL);
Код:
format(query, sizeof(query), "SELECT * FROM `mobile`", LoadNumbers, i, playerid);
Reply
#3

Thanks @K0P but I still get some errors:-
PHP код:
D:\roleplay\[GAMEMODE]\filterscripts\PhoneSystem.pwn(75) : error 017undefined symbol "mysql_log"
D:\roleplay\[GAMEMODE]\filterscripts\PhoneSystem.pwn(2104) : error 076syntax error in the expression, or invalid function call
D
:\IM UUSING IT\[GAMEMODE]\filterscripts\PhoneSystem.pwn(77) : warning 204symbol is assigned a value that is never used"mysql"
Pawn compiler 3.2.3664              Copyright (c1997-2006ITB CompuPhase
2 Errors

Kindly tell me how to fix this.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)