[GM]Array Sizes help????
#1

How to solve this error?
Код:
D:\My Stuff\SAMP Gamemodes\hzrp\gamemodes\VGRP.pwn(9925) : error 047: array sizes do not match, or destination array is too small
D:\My Stuff\SAMP Gamemodes\hzrp\gamemodes\VGRP.pwn(58570) : warning 215: expression has no effect
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
This is line number (9,925) of my gamemode ... wtf?
Код:
		else if(PlayerInfo[targetid][pDonator] == 6) { donatortxt = "Chartered Old-School"; }
if needed i can post the whole code where the error comes from, please me help out for this ... . !
Reply
#2

your missing something on tht line.
Reply
#3

Quote:
Originally Posted by yvoms
Посмотреть сообщение
your missing something on tht line.
Nevermind [SOLVED] , i just made a new cmd for the new donator levels i created and instead of Charted Old-School i made it short to COS and the gamemode compiled successfully!
that line "COS"
else if(PlayerInfo[targetid][pDonator] == 6) { donatortxt = "COS"; }
Reply
#4

increase the size of var donatortxt
Reply
#5

Quote:
Originally Posted by StreetGT
Посмотреть сообщение
increase the size of var donatortxt
i think its this one if i am correct new donatortxt[16]; ?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)