SA-MP Forums Archive
Split problem. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Split problem. (/showthread.php?tid=210258)



Split problem. - GaB1TzZzu - 12.01.2011

Код:
(266) : error 025: function heading differs from prototype
(11315) : error 025: function heading differs from prototype
What i have to do..?

LINE 266 :
Код:
forward split(const strsrc[], strdest[][], delimiter);
LINE 11315:
Код:
public split(const strsrc[], strdest[][], delimiter)



Re: Split problem. - JaTochNietDan - 12.01.2011

Looks fine to me, that is better off being a stock function than a public function.

Just take out line 266 and change public in line 11315 to stock.


Re: Split problem. - GaB1TzZzu - 12.01.2011

No work..

Код:
(11314) : error 025: function heading differs from prototype
LINE 11314:
Код:
stock split(const strsrc[], strdest[][], delimiter)



Re: Split problem. - Kaylux - 12.01.2011

Take out the "forward split(const strsrc[], strdest[][], delimiter);" too.


Re: Split problem. - GaB1TzZzu - 13.01.2011

I did.. No work !