Vice City Multiplayer
VC:MP 0.3 => mIRC/pawn Scripting => Topic started by: nikobg on December 07, 2012, 07:48:38 pm
-
I tried to compile my script to .amx when suddenly....
C:\Users\niko\Desktop\VCMP - Pawno\include\dutils.inc(199) : error 021: symbol already defined: "SetPlayerMoney"
D:\igri\vc\SERVERs\gamemodes\Niko.pwn(208) : error 047: array sizes do not match, or destination array is too small
D:\igri\vc\SERVERs\gamemodes\Niko.pwn(570) : error 047: array sizes do not match, or destination array is too small
D:\igri\vc\SERVERs\gamemodes\Niko.pwn(574) : error 047: array sizes do not match, or destination array is too small
D:\igri\vc\SERVERs\gamemodes\Niko.pwn(608) : error 047: array sizes do not match, or destination array is too small
D:\igri\vc\SERVERs\gamemodes\Niko.pwn(689) : error 047: array sizes do not match, or destination array is too small
D:\igri\vc\SERVERs\gamemodes\Niko.pwn(689) : error 047: array sizes do not match, or destination array is too small
D:\igri\vc\SERVERs\gamemodes\Niko.pwn(705) : error 047: array sizes do not match, or destination array is too small
D:\igri\vc\SERVERs\gamemodes\Niko.pwn(716) : error 047: array sizes do not match, or destination array is too small
D:\igri\vc\SERVERs\gamemodes\Niko.pwn(720) : error 047: array sizes do not match, or destination array is too small
D:\igri\vc\SERVERs\gamemodes\Niko.pwn(743) : error 047: array sizes do not match, or destination array is too small
D:\igri\vc\SERVERs\gamemodes\Niko.pwn(747) : error 047: array sizes do not match, or destination array is too small
D:\igri\vc\SERVERs\gamemodes\Niko.pwn(762) : error 047: array sizes do not match, or destination array is too small
D:\igri\vc\SERVERs\gamemodes\Niko.pwn(762) : error 047: array sizes do not match, or destination array is too small
D:\igri\vc\SERVERs\gamemodes\Niko.pwn(811) : error 047: array sizes do not match, or destination array is too small
D:\igri\vc\SERVERs\gamemodes\Niko.pwn(856) : error 047: array sizes do not match, or destination array is too small
D:\igri\vc\SERVERs\gamemodes\Niko.pwn(908) : error 047: array sizes do not match, or destination array is too small
D:\igri\vc\SERVERs\gamemodes\Niko.pwn(927) : error 047: array sizes do not match, or destination array is too small
D:\igri\vc\SERVERs\gamemodes\Niko.pwn(951) : error 047: array sizes do not match, or destination array is too small
D:\igri\vc\SERVERs\gamemodes\Niko.pwn(951) : error 047: array sizes do not match, or destination array is too small
D:\igri\vc\SERVERs\gamemodes\Niko.pwn(968) : error 047: array sizes do not match, or destination array is too small
D:\igri\vc\SERVERs\gamemodes\Niko.pwn(996) : error 047: array sizes do not match, or destination array is too small
D:\igri\vc\SERVERs\gamemodes\Niko.pwn(1018) : error 047: array sizes do not match, or destination array is too small
D:\igri\vc\SERVERs\gamemodes\Niko.pwn(1018) : error 047: array sizes do not match, or destination array is too small
D:\igri\vc\SERVERs\gamemodes\Niko.pwn(1034) : error 047: array sizes do not match, or destination array is too small
D:\igri\vc\SERVERs\gamemodes\Niko.pwn(1034) : error 047: array sizes do not match, or destination array is too small
Compilation aborted.Pawn compiler 3.0.3367 Copyright (c) 1997-2005, ITB CompuPhase
26 Errors.
-
Simple check the script and find all returns if got
[pawn]}
return 1
}
}[/pawn]
Delete one }
Another problem is if one command not have } example
}
return 1
else if "bla bla bla"
And you have 2 public setplayermoney delete one
-
Simple check the script and find all returns if got
[pawn]}
return 1
}
}[/pawn]
Delete one }
Another problem is if one command not have } example
}
return 1
else if "bla bla bla"
And you have 2 public setplayermoney delete one
i have setplayermoney all over my script...and my script is big
-
We can't find the problem if you don't post the relevant code.
D:\igri\vc\SERVERs\gamemodes\Niko.pwn(208) : error 047: array sizes do not match, or destination array is too small
Post line 208.
D:\igri\vc\SERVERs\gamemodes\Niko.pwn(570) : error 047: array sizes do not match, or destination array is too small
Post line 570.
D:\igri\vc\SERVERs\gamemodes\Niko.pwn(574) : error 047: array sizes do not match, or destination array is too small
Post line 574.
D:\igri\vc\SERVERs\gamemodes\Niko.pwn(608) : error 047: array sizes do not match, or destination array is too small
Post line 608.
etc.
-
We can't find the problem if you don't post the relevant code.
D:\igri\vc\SERVERs\gamemodes\Niko.pwn(208) : error 047: array sizes do not match, or destination array is too small
Post line 208.
D:\igri\vc\SERVERs\gamemodes\Niko.pwn(570) : error 047: array sizes do not match, or destination array is too small
Post line 570.
D:\igri\vc\SERVERs\gamemodes\Niko.pwn(574) : error 047: array sizes do not match, or destination array is too small
Post line 574.
D:\igri\vc\SERVERs\gamemodes\Niko.pwn(608) : error 047: array sizes do not match, or destination array is too small
Post line 608.
etc.
I think are just some small strings.
Change them to 256 .
(256 = 1kb)