Plz help me! Compile error!
#1

Hi im tryed to compile a rp mod but showed this

Код:
E:\Program Files\Rockstar Games\GTA San Andreas\My server\gamemodes\SWRP.pwn(4182) : error 047: array sizes do not match, or destination array is too small
E:\Program Files\Rockstar Games\GTA San Andreas\My server\gamemodes\SWRP.pwn(6474) : error 047: array sizes do not match, or destination array is too small
E:\Program Files\Rockstar Games\GTA San Andreas\My server\gamemodes\SWRP.pwn(6575) : error 047: array sizes do not match, or destination array is too small
E:\Program Files\Rockstar Games\GTA San Andreas\My server\gamemodes\SWRP.pwn(6764) : error 047: array sizes do not match, or destination array is too small
E:\Program Files\Rockstar Games\GTA San Andreas\My server\gamemodes\SWRP.pwn(6997) : error 047: array sizes do not match, or destination array is too small
E:\Program Files\Rockstar Games\GTA San Andreas\My server\gamemodes\SWRP.pwn(7154) : error 047: array sizes do not match, or destination array is too small
E:\Program Files\Rockstar Games\GTA San Andreas\My server\gamemodes\SWRP.pwn(7299) : error 047: array sizes do not match, or destination array is too small
E:\Program Files\Rockstar Games\GTA San Andreas\My server\gamemodes\SWRP.pwn(7591) : error 047: array sizes do not match, or destination array is too small
E:\Program Files\Rockstar Games\GTA San Andreas\My server\gamemodes\SWRP.pwn(7679) : error 047: array sizes do not match, or destination array is too small
E:\Program Files\Rockstar Games\GTA San Andreas\My server\gamemodes\SWRP.pwn(8139) : error 047: array sizes do not match, or destination array is too small
E:\Program Files\Rockstar Games\GTA San Andreas\My server\gamemodes\SWRP.pwn(17784) : error 025: function heading differs from prototype
E:\Program Files\Rockstar Games\GTA San Andreas\My server\gamemodes\SWRP.pwn(17785) : error 021: symbol already defined: "strtok"
E:\Program Files\Rockstar Games\GTA San Andreas\My server\gamemodes\SWRP.pwn(17795) : error 047: array sizes do not match, or destination array is too small
E:\Program Files\Rockstar Games\GTA San Andreas\My server\gamemodes\SWRP.pwn(22384) : warning 203: symbol is never used: "ret_memcpy"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


13 Errors.
Reply
#2

Uhm, you probably missed a bracket.
Reply
#3

line 4182: tmp = strtok(text, idx);

line 6474: x_info = strtok(cmdtext, idx);

line 6575: x_info = strtok(cmdtext, idx);

line 6764: x_info = strtok(cmdtext, idx);

line 6997: x_info = strtok(cmdtext, idx);

7154: x_info = strtok(cmdtext, idx);

7299: x_info = strtok(cmdtext, idx);

7591: x_info = strtok(cmdtext, idx);

7679: x_info = strtok(cmdtext, idx);

8139: x_info = strtok(cmdtext, idx);

17784trtok(string[],&idx,seperator = ' ')

17785:{

17795: return ret;

22384:nothing so this is tha end
Reply
#4

a missing bracket
Reply
#5

and how can i fix it?
Reply
#6

Quote:
Originally Posted by zalyy
and how can i fix it?
check ur script from line 1 to line 22384 , no other way
Reply
#7

man but what i need to do...
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)