function "SSCANF_OnGameModeInit" should return a value
#1

Код:
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 .
Reply
#2

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..
Reply
#3

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.
Reply
#4

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
Reply
#5

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 .
Reply
#6

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

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)