SA-MP Forums Archive
Warnings that i got with 0.3x - 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)
+--- Thread: Warnings that i got with 0.3x (/showthread.php?tid=415023)



Warnings that i got with 0.3x - Hade. - 11.02.2013

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?


Re: Warnings that i got with 0.3x - IstuntmanI - 11.02.2013

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.


Re: Warnings that i got with 0.3x - M3mPHi$_S3 - 11.02.2013

Try with updraging or downgrade your YSI.


Re: Warnings that i got with 0.3x - Hade. - 11.02.2013

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


Re: Warnings that i got with 0.3x - CrazyChoco - 11.02.2013

Still the error can occur in your script..


Re: Warnings that i got with 0.3x - Hade. - 11.02.2013

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


Re: Warnings that i got with 0.3x - GWMPT - 11.02.2013

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


Re: Warnings that i got with 0.3x - ikkentim - 12.02.2013

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!