Warnings that i got with 0.3x
#1

Hello, so i got two warnings with 0.3x, that dont do anything but i still would like to get them away.

Код:
C:\Users\ilmar\Desktop\Nebuloss Fun\pawno\include\YSI\internal\..\y_scriptinit.inc(133) : warning 209: function "SSCANF_OnFilterScriptInit" should return a value
C:\Users\ilmar\Desktop\Nebuloss Fun\pawno\include\YSI\internal\..\y_scriptinit.inc(170) : warning 209: function "SSCANF_OnGameModeInit" should return a value
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Warnings.
And on these lines there are:

Код:
new startvar[8];

and 

enum pInfo
Can someone help?
Reply
#2

Lines 133 and 170 from y_scriptinit.inc, not from your GM.

You can try to update your YSI include, update sscanf and return 1; at OnGameModeInit and OnFilterScriptInit (btw, you have both in that script ?)

It's not from 0.3x, it's from you, you didn't done something fine in the update process.
Reply
#3

Try with updraging or downgrade your YSI.
Reply
#4

Quote:
Originally Posted by costel_nistor96
Посмотреть сообщение
Lines 133 and 170 from y_scriptinit.inc, not from your GM.

You can try to update your YSI include, update sscanf and return 1; at OnGameModeInit and OnFilterScriptInit (btw, you have both in that script ?)

It's not from 0.3x, it's from you, you didn't done something fine in the update process.
No, both arent in the script, i'l try to update YSI
Reply
#5

Still the error can occur in your script..
Reply
#6

I upgraded sscanf, but still nothing, return 1; is at the end of GamemodeInt
Reply
#7

If your gamemode keeps working like you wanted, don't worry about that.
Reply
#8

Quote:
Originally Posted by klklt0
Посмотреть сообщение
If your gamemode keeps working like you wanted, don't worry about that.
You SHOULD be worried about every warning, that's the point of the warning!
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)