MySQL HELP
#4

What does it say when you print under catching the data?

PHP код:
printf("Data for ID %i: Admin: %i | Helper: %i | Donator: %i | Kills: %i | Deaths: %i | Score: %i | Money %i"playeridPlayerInfo[playerid][Level], PlayerInfo[playerid][Helper], PlayerInfo[playerid][dRank], PlayerInfo[playerid][Kills], PlayerInfo[playerid][Deaths], PlayerInfo[playerid][Score], PlayerInfo[playerid][Money]); 
If it's all 0's and doesn't return anything check your mysql logs for any errors. And if you don't have it place this in your gamemode.

PHP код:
public OnQueryError(erroriderror[], callback[], query[], connectionHandle)
{
    new 
string[100];
    
printf("Error ID: %i"errorid);
    
printf("Error: %s"error);
    
printf("Callback: %s"callback);
    
printf("Query: %s"query);
    return 
1;

I don't know which mysql plugin you're using so im hoping that callback will work
Reply


Messages In This Thread
MySQL HELP - by HydraHumza - 28.10.2015, 14:19
Re: MySQL HELP - by Dokins - 28.10.2015, 14:24
Re: MySQL HELP - by HydraHumza - 29.10.2015, 09:02
Re: MySQL HELP - by itsCody - 29.10.2015, 09:26
Re: MySQL HELP - by HydraHumza - 29.10.2015, 09:46
Re: MySQL HELP - by itsCody - 29.10.2015, 09:59
Re: MySQL HELP - by jlalt - 29.10.2015, 10:01

Forum Jump:


Users browsing this thread: 3 Guest(s)