SA-MP Forums Archive
Include Help - 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)
+--- Thread: Include Help (/showthread.php?tid=427686)



Include Help - EdDy.DarK - 02.04.2013

Hello i have 2 Errors with one include

C:\Users\Usuario\Desktop\Untitled.pwn(148 ) : warning 215: expression has no effect
C:\Users\Usuario\Desktop\Untitled.pwn(148 ) : error 001: expected token: ";", but found "-identifier-"
C:\Users\Usuario\Desktop\Untitled.pwn(283) : warning 215: expression has no effect
C:\Users\Usuario\Desktop\Untitled.pwn(283) : error 001: expected token: ";", but found "-identifier-"


Line 282 new str[35][20];
Line 283 str explode(str, data, ",");

Line 147 new str[5][128];
Line 148 str explode(str, data, ",");
Line 149 version = floatstr(str[0]);
Line 150 url = str[1];

Some one can help me? I really need this


Re: Include Help - MrTinder - 02.04.2013

try to make them


Line 283 str explode(str, data, "");

Line 148 str explode(str, data, "");


Respuesta: Include Help - EdDy.DarK - 02.04.2013

Same error :/


Re: Include Help - MP2 - 02.04.2013

Delete 'str' at the start of the line.