27.11.2010, 18:38
I get the error: error 025: function heading differs from prototype
I have been chaging my gamemode from this mysql plugin:https://sampforum.blast.hk/showthread.php?tid=7106
to this one: https://sampforum.blast.hk/showthread.php?tid=56564
The lines of code that are getting the error are:
these errors happened after i changed all the code for the mysql.
I have been chaging my gamemode from this mysql plugin:https://sampforum.blast.hk/showthread.php?tid=7106
to this one: https://sampforum.blast.hk/showthread.php?tid=56564
The lines of code that are getting the error are:
Код:
forward strcount(const string[], delimiter);
Код:
public split(const strsrc[], strdest[][], delimiter)
{
new i, li;
new aNum;
new len;
while(i <= strlen(strsrc)){
if(strsrc[i]==delimiter || i==strlen(strsrc)){
len = strmid(strdest[aNum], strsrc, li, i, 128);
strdest[aNum][len] = 0;
li = i+1;
aNum++;
}
i++;
}
return 1;
}
these errors happened after i changed all the code for the mysql.

