SA-MP Forums Archive
2 Errors. - 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: 2 Errors. (/showthread.php?tid=80580)



2 Errors. - joeri55 - 05.06.2009

I don't know how to fix the 2 errors..

C:\Documents and Settings\Joeri\Bureaublad\Drugs\drugs.pwn(44 : error 029: invalid expression, assumed zero
C:\Documents and Settings\Joeri\Bureaublad\Drugs\drugs.pwn(44 : error 001: expected token: ",", but found ";"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


2 Errors.

Does anyone has a idea?
http://pastebin.com/m43cc6adf (script)


Re: 2 Errors. - Gappy - 05.06.2009

Change line 448 from:

pawn Код:
format(coordsstring, sizeof(coordsstring), "DrugHouse: [%d]", drugsfill,);
To:


pawn Код:
format(coordsstring, sizeof(coordsstring), "DrugHouse: [%d]", drugsfill);