SA-MP Forums Archive
function "SSCANF_OnGameModeInit" should return a value - 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: function "SSCANF_OnGameModeInit" should return a value (/showthread.php?tid=411514)



function "SSCANF_OnGameModeInit" should return a value - M3mPHi$_S3 - 29.01.2013

Код:
warning 209: function "SSCANF_OnGameModeInit" should return a value
PHP код:
    new HostName100 ];
    
formatHostNamesizeofHostName ), "hostname MAtrixe Stuntage 0.3x",Version );
    
SendRconCommand(  HostName ); 
What's wronge with this ? Before my server was at 0.3e it works fine after updating it to 0.3x i got this .


Re: function "SSCANF_OnGameModeInit" should return a value - Roach_ - 29.01.2013

Update the plugin and the include: https://sampforum.blast.hk/showthread.php?tid=120356
If after that you will still have that warning, ignore it, it will not affect your scripting/server/filterscripts or whatever..
It's due to an update to sscanf that isn't yet YSI compatible..


Re: function "SSCANF_OnGameModeInit" should return a value - M3mPHi$_S3 - 30.01.2013

Quote:
Originally Posted by ******
Посмотреть сообщение
It is now YSI compatible - I updated it a while ago.
You can i should update YSI as well ?

EDIT : I Have updated by sscanf and YSI .. Suddently " My Pawn Compiler Has Stop Working " This never happen before.


Re: function "SSCANF_OnGameModeInit" should return a value - M3mPHi$_S3 - 30.01.2013

Quote:
Originally Posted by ******
Посмотреть сообщение
Err, what version were you upgrading from? I can't debug that too easilly remotely (but could with your script).
I Updated sscanf and Ysi both to latest version You released


Re: function "SSCANF_OnGameModeInit" should return a value - M3mPHi$_S3 - 30.01.2013

Quote:
Originally Posted by ******
Посмотреть сообщение
from
Actully i am using Eclips So did'nt remember the last version and this is first time upgrading to latest version of YSI .


Re: function "SSCANF_OnGameModeInit" should return a value - M3mPHi$_S3 - 31.01.2013

EDIT : When i Upgrade the YSI - pawn compiler hs stop working and when i downgrade it - Millions of Errors


Re: function "SSCANF_OnGameModeInit" should return a value - Scrillex - 31.01.2013

warning 209: function "SSCANF_OnGameModeInit" should return a value

OnGameModeInit

at the end of the code

Quote:

return 1;

Or https://sampforum.blast.hk/showthread.php?pid=2292025#pid2292025