open.mp forum
[Pawn] Having some errors anyone can help fix it? - Printable Version

+ open.mp forum (https://forum.open.mp)
-- Forum: SA-MP (https://forum.open.mp/forumdisplay.php?fid=3)
--- Forum: Pawn Scripting (https://forum.open.mp/forumdisplay.php?fid=10)
--- Thread: [Pawn] Having some errors anyone can help fix it? (/showthread.php?tid=1770)



Having some errors anyone can help fix it? - Nelixus - 2021-03-15

Hey im getting these errors:

Code:
C:\Users\MSI\Desktop\new LERG\gamemodes\LERG.LT.pwn(545) : error 009: invalid array size (negative, zero or out of bounds)

C:\Users\MSI\Desktop\new LERG\gamemodes\LERG.LT.pwn(545) : error 001: expected token: ")", but found ";"

C:\Users\MSI\Desktop\new LERG\gamemodes\LERG.LT.pwn(545) : error 036: empty statement

C:\Users\MSI\Desktop\new LERG\gamemodes\LERG.LT.pwn(545) : fatal error 107: too many error messages on one line



Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase





4 Errors.



at line:

Code:
inline registracija(pid, did, resp, litem, input[])

any ideas why im getting?


RE: Having some errors anyone can help fix it? - Y_Less - 2021-03-15

Arrays in inlines MUST have a size. Unless they're a string, in which case they need a `string:` tag.