13.06.2014, 16:35
(Using https://sampforum.blast.hk/showthread.php?tid=291035 this gamemode, converting it to MySQL)
What I currently have, returns these errors:
I'm not too sure if this will actually work aswell.
Thanks.
pawn Code:
forward AccountExists(playerid); // Checks if the master account is already registered.
public AccountExists(playerid)
{
if(IsPlayerConnected(playerid))
{
new rows;
format(query, sizeof(query), "SELECT * FROM `MainAccount` WHERE `mID` = '%s'", PlayerName(playerid));
cache_get_row(rows);
if(!rows)
{
return true;
}
}
return false;
}
pawn Code:
error 017: undefined symbol "cache_get_row"
Thanks.