include with explode function
#1

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?
Reply
#2

bump
Reply
#3

The error literally tells you what`s wrong.
Reply
#4

Check the pawn-lang.pdf to see why you're getting that error.
Reply
#5

pawn Code:
new showdane[2][256];
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)