SA-MP Forums Archive
Problem - 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: Problem (/showthread.php?tid=255697)



Problem - seanny - 16.05.2011

I was editing the MRP script and when I was gonna compile it I got

Код:
C:\Users\Seany\Desktop\SCRP v3.0 R000\MRP\MRP.pwn(8646) : error 047: array sizes do not match, or destination array is too small
C:\Users\Seany\Desktop\SCRP v3.0 R000\MRP\MRP.pwn(27948) : error 047: array sizes do not match, or destination array is too small
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.



Re: Problem - Venice - 16.05.2011

post the error line


Re: Problem - seanny - 16.05.2011

I did

C:\Users\Seany\Desktop\SCRP v3.0 R000\MRP\MRP.pwn(8646) : error 047: array sizes do not match, or destination array is too small
C:\Users\Seany\Desktop\SCRP v3.0 R000\MRP\MRP.pwn(2794 : error 047: array sizes do not match, or destination array is too small
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


2 Errors.


Re: Problem - misho1 - 16.05.2011

post the fs/gm


Re: Problem - seanny - 16.05.2011

But If I do that then noobs will steal my script
PS: I'll Pm it to both of you


Re: Problem - misho1 - 16.05.2011

ok we will not steal it


Re: Problem - seanny - 16.05.2011

On topic: Please unblock your PMs

off topic: This forum requires that you wait 120 seconds between posts. Please try again in 1 seconds. FUUUUUUUUUUUU


Re: Problem - seanny - 16.05.2011

I think it is coming from

Line 8646
Код:
else if(PlayerInfo[targetid][pMember] == 4 || PlayerInfo[targetid][pLeader] == 4) { ttext = "Fire fighter/Paramedic"; }
Line 27948
Код:
else if(PlayerInfo[playerid][pLeader] == 4) { PlayerInfo[para1][pTeam] = 1; gTeam[para1] = 1; ftext = "Firefighter/Paramedic";  }



Re: Problem - seanny - 17.05.2011

Bump - Urgent


Re: Problem - Elka_Blazer - 17.05.2011

Quote:
Originally Posted by seanny
Посмотреть сообщение
I was editing the MRP script and when I was gonna compile it I got

Код:
C:\Users\Seany\Desktop\SCRP v3.0 R000\MRP\MRP.pwn(8646) : error 047: array sizes do not match, or destination array is too small
C:\Users\Seany\Desktop\SCRP v3.0 R000\MRP\MRP.pwn(27948) : error 047: array sizes do not match, or destination array is too small
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.

Array sizes do not much , Not so true .
Use strmid !

To input string into a variable you need to use strmid.