SA-MP Forums Archive
Compile error - 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: Compile error (/showthread.php?tid=325972)



Compile error - Kuusa - 15.03.2012

C:\Users\Andris\Desktop\ServerisLS\ServerisLS\pawn o\include\dutils.inc(202) : warning 209: function "SetPlayerMoney" should return a value
C:\Users\Andris\Desktop\ServerisLS\ServerisLS\game modes\drp.pwn(821 : error 021: symbol already defined: "SetPlayerMoney"
C:\Users\Andris\Desktop\ServerisLS\ServerisLS\game modes\drp.pwn(12763) : error 021: symbol already defined: "strtok"
C:\Users\Andris\Desktop\ServerisLS\ServerisLS\game modes\drp.pwn(1277 : error 047: array sizes do not match, or destination array is too small
C:\Users\Andris\Desktop\ServerisLS\ServerisLS\game modes\drp.pwn(14702) : error 047: array sizes do not match, or destination array is too small
C:\Users\Andris\Desktop\ServerisLS\ServerisLS\game modes\drp.pwn(23547) : error 047: array sizes do not match, or destination array is too small
C:\Users\Andris\Desktop\ServerisLS\ServerisLS\game modes\drp.pwn(24270) : warning 202: number of arguments does not match definition
C:\Users\Andris\Desktop\ServerisLS\ServerisLS\game modes\drp.pwn(25961) : error 047: array sizes do not match, or destination array is too small
C:\Users\Andris\Desktop\ServerisLS\ServerisLS\game modes\drp.pwn(26543) : error 047: array sizes do not match, or destination array is too small
C:\Users\Andris\Desktop\ServerisLS\ServerisLS\game modes\drp.pwn(26671) : error 047: array sizes do not match, or destination array is too small
C:\Users\Andris\Desktop\ServerisLS\ServerisLS\game modes\drp.pwn(2679 : error 047: array sizes do not match, or destination array is too small
C:\Users\Andris\Desktop\ServerisLS\ServerisLS\game modes\drp.pwn(26931) : error 047: array sizes do not match, or destination array is too small
C:\Users\Andris\Desktop\ServerisLS\ServerisLS\game modes\drp.pwn(31639) : error 047: array sizes do not match, or destination array is too small
C:\Users\Andris\Desktop\ServerisLS\ServerisLS\game modes\drp.pwn(41022) : error 047: array sizes do not match, or destination array is too small
C:\Users\Andris\Desktop\ServerisLS\ServerisLS\game modes\drp.pwn(41155) : error 047: array sizes do not match, or destination array is too small
C:\Users\Andris\Desktop\ServerisLS\ServerisLS\game modes\drp.pwn(50829) : error 021: symbol already defined: "mktime"
C:\Users\Andris\Desktop\ServerisLS\ServerisLS\game modes\drp.pwn(51320) : warning 235: public function lacks forward declaration (symbol "OnPlayerFadeFlashed")
C:\Users\Andris\Desktop\ServerisLS\ServerisLS\game modes\drp.pwn(51369) : warning 217: loose indentation
C:\Users\Andris\Desktop\ServerisLS\ServerisLS\game modes\drp.pwn(5138 : warning 201: redefinition of constant/macro (symbol "OnPlayerKeyStateChange")
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


14 Errors.


Re: Compile error - Tom1412 - 15.03.2012

script whats on e though lines?


Respuesta: Compile error - kirk - 15.03.2012

Post the lines.


Re: Compile error - GNGification - 15.03.2012

Код:
C:\Users\Andris\Desktop\ServerisLS\ServerisLS\game modes\drp.pwn(51369) : warning 217: loose indentation
Did you even try to fix the script or is it someone's else's?

Anyways we need to see the code if you ever want any help