SA-MP Forums Archive
Error 047 - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Error 047 (/showthread.php?tid=90230)



Error 047 - Luisinho - 07.08.2009

Helloo :P

I've been getting this error when I try to compile:
Код:
D:\My Documents\Server Test\gamemodes\test.pwn(95) : error 047: array sizes do not match, or destination array is too small
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
Here's line 95:
Код:
new tmp[128];
Any help is appreciated.

Thanks,
Luisinho


Re: Error 047 - clean180ollie - 07.08.2009

Increase Your String


Re: Error 047 - Antonio [G-RP] - 07.08.2009

like

tmphellolol[128]; ??


Re: Error 047 - Luisinho - 07.08.2009

Sorry, I'm a beginner on this, you mean the number "128"?


Re: Error 047 - Antonio [G-RP] - 07.08.2009

i think he means

instead of tmp[128];

do like

tmpthecow[128];

meaning.. extend/change it a bit.


Re: Error 047 - Luisinho - 07.08.2009

I done that, but then I get these other errors:
Код:
D:\My Documents\Server Test\gamemodes\test.pwn(94) : error 017: undefined symbol "tmp"
D:\My Documents\Server Test\gamemodes\test.pwn(94) : warning 215: expression has no effect
D:\My Documents\Server Test\gamemodes\test.pwn(94) : error 001: expected token: ";", but found "]"
D:\My Documents\Server Test\gamemodes\test.pwn(94) : error 029: invalid expression, assumed zero
D:\My Documents\Server Test\gamemodes\test.pwn(94) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.



Re: Error 047 - Fj0rtizFredde - 07.08.2009

Change it to like tmp[256];
(or how much you need)


Re: Error 047 - Fj0rtizFredde - 07.08.2009

sry for double post


Re: Error 047 - clean180ollie - 07.08.2009

Quote:
Originally Posted by Antonio (IRP)
i think he means

instead of tmp[128];

do like

tmpthecow[128];

meaning.. extend/change it a bit.
-_- No Comment....


Just change the tmp to like 256


Re: Error 047 - Luisinho - 07.08.2009

It worked, I really appreciate your help guys.

Thanks


Re: Error 047 - Antonio [G-RP] - 07.08.2009

Quote:
Originally Posted by clean180ollie
Quote:
Originally Posted by Antonio (IRP)
i think he means

instead of tmp[128];

do like

tmpthecow[128];

meaning.. extend/change it a bit.
-_- No Comment....


Just change the tmp to like 256
fuck u man.. im a begginer and someone helped my like that before.


Re: Error 047 - clean180ollie - 07.08.2009

Quote:
Originally Posted by Antonio (IRP)
Quote:
Originally Posted by clean180ollie
Quote:
Originally Posted by Antonio (IRP)
i think he means

instead of tmp[128];

do like

tmpthecow[128];

meaning.. extend/change it a bit.
-_- No Comment....


Just change the tmp to like 256
fuck u man.. im a begginer and someone helped my like that before.
Ok So How should I know? Im not god you dick... shut your fuckin mouth......


Re: Error 047 - yezizhu - 07.08.2009

Quote:
Originally Posted by Antonio (IRP)
Quote:
Originally Posted by clean180ollie
Quote:
Originally Posted by Antonio (IRP)
i think he means

instead of tmp[128];

do like

tmpthecow[128];

meaning.. extend/change it a bit.
-_- No Comment....


Just change the tmp to like 256
fuck u man.. im a begginer and someone helped my like that before.
@.@, that's not the same problem, and you can be a noob but you cannot rude somebody



Re: Error 047 - BP13 - 07.08.2009

Flame War


Re: Error 047 - Mowgli - 07.08.2009

everyone has gotta come the fuck down..

Antonio Is begginer he aint got clue wots going on , leave him alone

Clean is a prick


Re: Error 047 - clean180ollie - 07.08.2009

Quote:
Originally Posted by Mowgli
everyone has gotta come the fuck down..

Antonio Is begginer he aint got clue wots going on , leave him alone

Clean is a prick
Shut the Fuck up the Topic was over, YOu should stop actin like a Prick and bringing back the TOpic So stop, dugi, kaiserhouse, kye, someone delete the topic


Re: Error 047 - BP13 - 07.08.2009

well hes telling the truth. looks like you have some anger problems