include with explode function - 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: include with explode function (
/showthread.php?tid=126615)
include with explode function -
mario713 - 09.02.2010
Hi, i downloaded that include:
http://forum.sa-mp.com/index.php?topic=110557.0 and i want to use explode function but when im using this i have some errors...
i have that code:
Code:
new dane[256];
dane = "text|nextext";
new showdane[256];
explode(showdane, dane, "|"); //this is line where is error
and i got this error:
Code:
C:\Users\mario713\Desktop\samp03asvr_R4_win32\gamemodes\truckrp.pwn(292) : error 048: array dimensions do not match
can someone tell me how to use this function without any errors?
Re: include with explode function -
mario713 - 09.02.2010
bump
Re: include with explode function -
ray187 - 09.02.2010
The error literally tells you what`s wrong.
Re: include with explode function -
Correlli - 09.02.2010
Check the pawn-lang.pdf to see why you're getting that error.
Re: include with explode function -
Calgon - 09.02.2010