mysql_pquery question on callback being called.
#3

Try doing this:
Код:
mysql_pquery(BAN_SQL, string, "OnPlayerDataLoaded", "dd", playerid, g_MysqlRaceCheck[playerid]);

forward OnPlayerDataLoaded(playerid, race_check);
public OnPlayerDataLoaded(playerid, race_check)
{
    CallRemoteFunction("OnPlayerDataLoaded", "ii", playerid, race_check);
}
This will theoretically work, but it actually depends on what OnPlayerDataLoaded does in your other script.
Reply


Messages In This Thread
mysql_pquery question on callback being called. - by AroseKhanNiazi - 26.06.2016, 01:24
Re: mysql_pquery question on callback being called. - by AroseKhanNiazi - 29.06.2016, 14:09
Re: mysql_pquery question on callback being called. - by Stinged - 29.06.2016, 14:43
Re: mysql_pquery question on callback being called. - by Konstantinos - 29.06.2016, 15:16
Re: mysql_pquery question on callback being called. - by AroseKhanNiazi - 01.07.2016, 16:35

Forum Jump:


Users browsing this thread: 1 Guest(s)