#1

Код:
C:\Users\BooNii3\Los Santos Role Play Forums - Server\Los Santos Role Play - Server\gamemodes\Test1.pwn(263) : error 025: function heading differs from prototype
What does that mean?

pawn Код:
public OnQueryFinish(playerid, query[], resultid, extraid, connectionHandle) {
     if(resultid == MySQL_LOAD_ACCOUNT ) {
          mysql_store_result();
          new MySQLData[128], MyStats[3];
          mysql_fetch_row_format(MySQLData, "|");
          sscanf(MySQLData, "p<|>iii", MyStats[0], MyStats[1], MyStats[2]);
          format(MySQLData, 128, "This account stores %i kills & %i deaths G_G", MyStats[0], MyStats[1]);
          print(MySQLData);
          GivePlayerMoney(playerid, MyStats[2]);
          mysql_free_result();
     }
     return 1;
}
Reply
#2

We need to see the "forward OnQueryFinish();" line to help you.
The mistake should be there.
Reply
#3

Make sure your forward is:

forward OnQueryFinish(playerid, query[], resultid, extraid, connectionHandle);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)