Problem
#1

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.
Reply
#2

post the error line
Reply
#3

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.
Reply
#4

post the fs/gm
Reply
#5

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

ok we will not steal it
Reply
#7

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
Reply
#8

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";  }
Reply
#9

Bump - Urgent
Reply
#10

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)