SA-MP Forums Archive
Need Help with these 4 errors i keep getting! plz! - 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: Need Help with these 4 errors i keep getting! plz! (/showthread.php?tid=478293)



Need Help with these 4 errors i keep getting! plz! - MoeSal - 29.11.2013

Код:
C:\Users\Scripting!\Desktop\High Speed Drivers\gamemodes\nfsw.pwn(1536) : error 029: invalid expression, assumed zero
C:\Users\Scripting!\Desktop\High Speed Drivers\gamemodes\nfsw.pwn(1536) : warning 215: expression has no effect
C:\Users\Scripting!\Desktop\High Speed Drivers\gamemodes\nfsw.pwn(1536) : error 001: expected token: ";", but found "]"
C:\Users\Scripting!\Desktop\High Speed Drivers\gamemodes\nfsw.pwn(1536) : error 029: invalid expression, assumed zero
C:\Users\Scripting!\Desktop\High Speed Drivers\gamemodes\nfsw.pwn(1536) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
Код:
			md5[[str],inputtext,64];
Thnx to all that help


Re: Need Help with these 4 errors i keep getting! plz! - Ballu Miaa - 29.11.2013

Well you should paste the whole for more clearer view of the code.

What you're doing wrong is messing up declaration of a string.

Strings are declared like this:
pawn Код:
new inputtext[50],str[100];