SA-MP Forums Archive
Help, 1 warning and 1 error to YSI - 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: Help, 1 warning and 1 error to YSI (/showthread.php?tid=654038)



Help, 1 warning and 1 error to YSI - PaulCrouseVS - 19.05.2018

EDIT: I already resolved.


changed this

Код:
public OnPlayerDisconnect(playerid)
For:

Код:
public OnPlayerDisconnect(playerid,reason)
BUT new error in console:

Код:
*** YSI Warning: y_malloc set up via "CallLocalFunction", memory corruption is a remote possibility
YSI 4.0.2 https://github.com/pawn-lang/YSI-Inc...ses/tag/v4.0.2

Edit: Fix!

I already resolved.

after a_samp added first, add this under

Код:
#include  a_samp //Team SA-MP
 #include  YSI\YSI_Data\y_foreach
  #include  YSI\YSI_Storage\y_ini
   #include  YSI\YSI_Data\y_iterate
    #include   YSI\YSI_Core\y_utils
solved.


Re: Help, 1 warning and 1 error to YSI - Verc - 19.05.2018

Can you show us your 'public OnPlayerDisconnect?'


Re: Help, 1 warning and 1 error to YSI - PaulCrouseVS - 19.05.2018

EDIT: I already resolved.


changed this

Код:
public OnPlayerDisconnect(playerid)
For:

Код:
public OnPlayerDisconnect(playerid,reason)
BUT new error in console:

Код:
*** YSI Warning: y_malloc set up via "CallLocalFunction", memory corruption is a remote possibility