15.03.2010, 03:58
Hello everyone I am getting these errors and spent like a hour trying to figure out how to fix this. Here are the errors and what i have there.
Here what i have in those lines.
If you need to see the script just pm me if it will be easier and i`ll send it to you. Just please help me
Код:
C:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\SWRP.pwn(4182) : error 017: undefined symbol "TMP" C:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\SWRP.pwn(4180) : warning 204: symbol is assigned a value that is never used: "tmp" C:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\SWRP.pwn(6474) : error 047: array sizes do not match, or destination array is too small C:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\SWRP.pwn(6575) : error 017: undefined symbol "X_INFO" C:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\SWRP.pwn(6764) : error 017: undefined symbol "X_INFO" C:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\SWRP.pwn(6997) : error 017: undefined symbol "X_INFO" C:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\SWRP.pwn(7154) : error 017: undefined symbol "X_INFO" C:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\SWRP.pwn(7299) : error 017: undefined symbol "X_INFO" C:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\SWRP.pwn(7591) : error 017: undefined symbol "X_INFO" C:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\SWRP.pwn(7679) : error 017: undefined symbol "X_INFO" C:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\SWRP.pwn(8139) : error 017: undefined symbol "X_INFO" C:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\SWRP.pwn(17784) : error 025: function heading differs from prototype C:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\SWRP.pwn(17785) : error 021: symbol already defined: "strtok" C:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\SWRP.pwn(17795) : error 017: undefined symbol "RET" C:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\SWRP.pwn(17795) : error 079: inconsistent return types (array & non-array) C:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\SWRP.pwn(22384) : warning 203: symbol is never used: "ret_memcpy" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 14 Errors.
Код:
Line(4182) TMP = strtok(text, idx); Line(4180) new tmp[128]; 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); Line(7154) PlayerInfo[playerid][pBaseball] = 1; Line(7299) X_INFO = strtok(cmdtext, idx); Line(7591) X_INFO = strtok(cmdtext, idx); Line(7679) X_INFO = strtok(cmdtext, idx); Line(8139) X_INFO = strtok(cmdtext, idx); Line(17784) strtok(string[],&idx,seperator = ' ') Line(17785) { Line(17795) return RET; Line(17795) return RET; Line(22384) Don`t got that many lines. Ends at 22383 which is blank.