Script Errors
#1

Im Getting Errors in my RP script, I dont want to show the script in public because Ive been working hard on it. Can I show it to someone in Private Messages?
Errors:
Код:
C:\Program Files\Rockstar Games\GTA San Andreas\Eazy RP\gamemodes\erp.pwn(7523) : warning 217: loose indentation
C:\Program Files\Rockstar Games\GTA San Andreas\Eazy RP\gamemodes\erp.pwn(7528) : error 047: array sizes do not match, or destination array is too small
C:\Program Files\Rockstar Games\GTA San Andreas\Eazy RP\gamemodes\erp.pwn(7582) : warning 217: loose indentation
C:\Program Files\Rockstar Games\GTA San Andreas\Eazy RP\gamemodes\erp.pwn(7587) : warning 217: loose indentation
C:\Program Files\Rockstar Games\GTA San Andreas\Eazy RP\gamemodes\erp.pwn(7587) : error 047: array sizes do not match, or destination array is too small
C:\Program Files\Rockstar Games\GTA San Andreas\Eazy RP\gamemodes\erp.pwn(7588) : warning 217: loose indentation
C:\Program Files\Rockstar Games\GTA San Andreas\Eazy RP\gamemodes\erp.pwn(10235) : error 047: array sizes do not match, or destination array is too small
C:\Program Files\Rockstar Games\GTA San Andreas\Eazy RP\gamemodes\erp.pwn(10363) : error 047: array sizes do not match, or destination array is too small
C:\Program Files\Rockstar Games\GTA San Andreas\Eazy RP\gamemodes\erp.pwn(10676) : error 047: array sizes do not match, or destination array is too small
C:\Program Files\Rockstar Games\GTA San Andreas\Eazy RP\gamemodes\erp.pwn(14352) : error 025: function heading differs from prototype
C:\Program Files\Rockstar Games\GTA San Andreas\Eazy RP\gamemodes\erp.pwn(14353) : error 021: symbol already defined: "strtok"
C:\Program Files\Rockstar Games\GTA San Andreas\Eazy RP\gamemodes\erp.pwn(14363) : error 047: array sizes do not match, or destination array is too small
C:\Program Files\Rockstar Games\GTA San Andreas\Eazy RP\gamemodes\erp.pwn(16410) : error 025: function heading differs from prototype
C:\Program Files\Rockstar Games\GTA San Andreas\Eazy RP\gamemodes\erp.pwn(16410) : error 021: symbol already defined: "HexToInt"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


10 Errors.
Reply
#2

maybe first fix the 4 Loose indentation shit
Reply
#3

just fixed it just get errors no warnings now
Reply
#4

Look @ your latest changes see if your missing a bracket ? Or similar like a [ or (
Reply
#5

(752 : error 047: array sizes do not match, or destination array is too small

Check line 7528, you are trying to place a variable / string into a variable / string that is too small. E.G. Putting a 16 letter name into a 10 letter string.

(14352) : error 025: function heading differs from prototype

Your function has been declared differently to how you have written it on public YourFunction(Variables)

(16410) : error 021: symbol already defined: "HexToInt"

You have already done new HexToInt, don't "new" it again.


You have several instances of each of these types of errors, fix each of each and then repost your errors.
Reply
#6

didnt help much but fixed it

I was lazy and didnt pay attention

Just change

[128];

to

[256];
Reply
#7

"didnt help much but fixed it"

Is that in response to our posts?
Reply
#8

Quote:
Originally Posted by Redgie
"didnt help much but fixed it"

Is that in response to our posts?
yup, I wasnt paying attention on what I was scripting!

but thanks for trying to help me
Reply
#9

Yeah, the thanks bit is what we want to hear. Even if people don't help you, they still tried, so saying "didnt help much but fixed it" isn't a very nice thing to say xD Anyway, glad you got it fixed, well done for doing it yourself, it feels alot better to fix it yourself
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)