Updating YSI includes issue
#1

Hello, I am trying to update my gamemode to the last YSI includes(from here: https://github.com/pawn-lang/YSI-Includes/releases) but I got alot of errors and wanrnigs like
Warnings:
Код:
pawno\include\YSI\..\YSI_Data\..\YSI_Internal\..\YSI_Core\..\YSI_Core\..\YSI_Internal\y_funcinc.inc(112) : warning 239: literal array/string passed to a non-const parameter
pawno\include\YSI\..\YSI_Data\..\YSI_Internal\..\YSI_Core\..\YSI_Storage\..\YSI_Internal\..\amx\asm.inc(257) : warning 214: possibly a "const" array argument was intended: "ctx"
pawno\include\YSI\..\YSI_Data\..\YSI_Internal\..\YSI_Core\..\YSI_Storage\..\YSI_Internal\..\amx\disasm.inc(139) : warning 214: possibly a "const" array argument was intended: "ctx"
pawno\include\YSI\..\YSI_Data\..\YSI_Internal\..\YSI_Core\..\YSI_Storage\..\YSI_Internal\..\amx\disasm.inc(143) : warning 214: possibly a "const" array argument was intended: "ctx"
pawno\include\YSI\..\YSI_Data\..\YSI_Internal\..\YSI_Core\..\YSI_Storage\..\YSI_Internal\..\amx\disasm.inc(147) : warning 214: possibly a "const" array argument was intended: "ctx"
pawno\include\YSI\..\YSI_Data\..\YSI_Internal\..\YSI_Core\..\YSI_Storage\..\YSI_Internal\..\amx\disasm.inc(151) : warning 214: possibly a "const" array argument was intended: "ctx"
pawno\include\YSI\..\YSI_Data\..\YSI_Internal\..\YSI_Core\..\YSI_Storage\..\YSI_Internal\..\amx\disasm.inc(159) : warning 214: possibly a "const" array argument was intended: "ctx"
pawno\include\YSI\..\YSI_Data\..\YSI_Internal\..\YSI_Core\..\YSI_Storage\..\YSI_Internal\..\amx\disasm.inc(163) : warning 214: possibly a "const" array argument was intended: "ctx"
pawno\include\YSI\..\YSI_Data\..\YSI_Internal\..\YSI_Core\..\YSI_Storage\..\YSI_Internal\..\amx\codescan.inc(211) : warning 219: local variable "sip" shadows a variable at a preceding level
pawno\include\YSI\..\YSI_Data\..\YSI_Internal\..\YSI_Core\..\YSI_Storage\..\YSI_Internal\..\amx\codescan.inc(265) : warning 219: local variable "sip" shadows a variable at a preceding level
pawno\include\YSI\..\YSI_Data\..\YSI_Internal\..\YSI_Core\..\YSI_Storage\..\YSI_Internal\..\amx\codescan.inc(743) : warning 214: possibly a "const" array argument was intended: "cs"
pawno\include\YSI\..\YSI_Data\..\YSI_Internal\..\YSI_Core\..\YSI_Storage\..\YSI_Internal\..\amx\codescan.inc(877) : warning 214: possibly a "const" array argument was intended: "csm"
pawno\include\YSI\..\YSI_Data\..\YSI_Internal\..\YSI_Core\..\YSI_Storage\..\YSI_Internal\..\amx\codescan.inc(890) : warning 214: possibly a "const" array argument was intended: "csm"
pawno\include\YSI\..\YSI_Data\..\YSI_Internal\..\YSI_Core\..\YSI_Storage\..\YSI_Internal\..\amx\codescan.inc(901) : warning 214: possibly a "const" array argument was intended: "csm"
pawno\include\YSI\..\YSI_Data\..\YSI_Internal\..\YSI_Core\..\YSI_Storage\..\YSI_Internal\..\amx\codescan.inc(911) : warning 214: possibly a "const" array argument was intended: "csm"
pawno\include\YSI\..\YSI_Data\..\YSI_Internal\..\YSI_Core\..\YSI_Storage\..\YSI_Internal\..\amx\codescan.inc(916) : warning 214: possibly a "const" array argument was intended: "csm"
pawno\include\YSI\..\YSI_Data\..\YSI_Internal\..\YSI_Core\..\YSI_Storage\..\YSI_Internal\..\amx\codescan.inc(952) : warning 214: possibly a "const" array argument was intended: "csm"
pawno\include\YSI\..\YSI_Data\..\YSI_Internal\..\YSI_Core\..\YSI_Storage\..\YSI_Internal\..\amx\codescan.inc(956) : warning 214: possibly a "const" array argument was intended: "csm"
pawno\include\YSI\..\YSI_Data\..\YSI_Internal\..\YSI_Core\y_utils.inc(656) : warning 214: possibly a "const" array argument was intended: "ip"
pawno\include\YSI\..\YSI_Data\..\YSI_Internal\..\YSI_Core\y_utils.inc(1469) : warning 219: local variable "min" shadows a variable at a preceding level
pawno\include\YSI\..\YSI_Data\..\YSI_Internal\..\YSI_Core\y_utils.inc(1470) : warning 219: local variable "max" shadows a variable at a preceding level
pawno\include\YSI\..\YSI_Data\..\YSI_Internal\..\YSI_Core\y_utils.inc(1466) : warning 214: possibly a "const" array argument was intended: "arr"
pawno\include\YSI\..\YSI_Data\y_foreach/impl.inc(95) : warning 214: possibly a "const" array argument was intended: "array"
pawno\include\YSI\..\YSI_Data\y_foreach/impl.inc(164) : warning 214: possibly a "const" array argument was intended: "array"
pawno\include\YSI\..\YSI_Data\y_foreach/impl.inc(181) : warning 214: possibly a "const" array argument was intended: "counts"
pawno\include\YSI\..\YSI_Data\..\YSI_Coding\y_hooks/impl.inc(347) : warning 214: possibly a "const" array argument was intended: "name"
pawno\include\YSI\..\YSI_Data\..\YSI_Coding\y_hooks/impl.inc(347) : warning 214: possibly a "const" array argument was intended: "preloads"
pawno\include\YSI\..\YSI_Data\..\YSI_Coding\y_hooks/impl.inc(374) : warning 214: possibly a "const" array argument was intended: "name"
pawno\include\YSI\..\YSI_Data\..\YSI_Coding\y_hooks/impl.inc(374) : warning 214: possibly a "const" array argument was intended: "hooks"
pawno\include\YSI\..\YSI_Data\..\YSI_Coding\y_hooks/impl.inc(599) : warning 214: possibly a "const" array argument was intended: "name"
pawno\include\YSI\..\YSI_Data\..\YSI_Coding\y_hooks/impl.inc(663) : warning 214: possibly a "const" array argument was intended: "hooks"
Errors(there are alot but I give some of them)
Код HTML:
syntax error in the expression, or invalid function call
on codes like:
if(Lmaximumy<maximumy+(Range/2)) 	Lmaximumy= maximumy+(Range/2);

minimumx = GasX - (Range/2);	maximumx = GasX + (Range/2);

SafeZone= GangZoneCreate(minimumx-(Range/2),minimumy-(Range/2),maximumx+(Range/2),maximumy+(Range/2));
and so on.....
What can I do to resolve these problems? Thanks.
Note: My server actually have a very older YSI includes version.
Reply


Messages In This Thread
Updating YSI includes issue - by StRaphael - 15.11.2018, 17:10
Re: Updating YSI includes issue - by StRaphael - 16.11.2018, 11:45
Re: Updating YSI includes issue - by FedeA - 16.11.2018, 13:25
Re: Updating YSI includes issue - by StRaphael - 18.11.2018, 17:56
Re: Updating YSI includes issue - by StRaphael - 18.11.2018, 18:01
Re: Updating YSI includes issue - by StRaphael - 18.11.2018, 18:49
Re: Updating YSI includes issue - by StRaphael - 18.11.2018, 18:58
Re: Updating YSI includes issue - by StRaphael - 18.11.2018, 19:14
Re: Updating YSI includes issue - by StRaphael - 19.11.2018, 16:24

Forum Jump:


Users browsing this thread: 1 Guest(s)