Zkusím tam hodit novou ale pak mě to bude dělat asi bordel
Zkusím to zcompilovat
Tak compilace na novy mysql neuspešná, 4 errory
C:\Users\Netstar-AV\\Roleplay\gamemodes\PLA.pwn(10126) : error 035: argument type mismatch (argument 1)
C:\Users\Netstar-AV\\Roleplay\gamemodes\PLA.pwn(10131) : error 035: argument type mismatch (argument 1)
C:\Users\Netstar-AV\\Roleplaygamemodes\PLA.pwn(19582) : error 035: argument type mismatch (argument 1)
C:\Users\Netstar-AV\\Roleplay\gamemodes\PLA.pwn(19590) : error 035: argument type mismatch (argument 1)
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
compilovala jsem to s novým includem mysql se starym to normálně jde, tohle je line 10126
CheckDatabase(playerid)
{
new q[200];
new playername[24];
GetPlayerName(playerid,playername,sizeof(playername));
format(q, 200, "SELECT * FROM bans WHERE name = '%s' ORDER BY id DESC LIMIT 1", playername);
mysql_query(q,THREAD_BAN_CHECK_NAME,playerid);
new ip[16];
GetPlayerIp(playerid, ip, sizeof(ip));
format(q, 200, "SELECT * FROM bans WHERE ip = '%s' ORDER BY id DESC LIMIT 1", ip);
mysql_query(q,THREAD_BAN_CHECK_IP,playerid);
}
Díky předem..