28.09.2011, 14:38
Here is the stock:
It's not mine, and here is the problem I get:
8936 is the stock split(....)
PHP код:
stock 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;
}
PHP код:
C:\Users\Mark\Desktop\G-RP.pwn(8936) : error 025: function heading differs from prototype