OnPlayerDisconnect not being called in GM (y_hooks)
#1

Ever since updating YSI from 0.2 to 3.1 (I know - ) I've had many problems. One of which is that OnPlayerDisconnect isn't being called in my gamemode (I've not tested filterscripts however). I assume it is related to y_hooks. I've PMed ****** about this and am awaiting a reply, but in the meantime perhaps somebody has a clue as to the cause?

Thanks.
Reply
#2

Maybe try to use public
pawn Код:
OnPlayerLogout(playerid, uid)
{
Reply
#3

Have you tried using the ALS method so that you can confirm it's YSI and not a fault at yours?
Reply
#4

Quote:
Originally Posted by Rajat_Pawar
Посмотреть сообщение
Have you tried using the ALS method so that you can confirm it's YSI and not a fault at yours?
Using 0.2 - No problem
Using 3.1 - Problem

Result = YSI's fault
Reply
#5

I only appear to hook OnPlayerDisconnect in two includes, and disabling the hooks in both did not fix the problem (there may be other hooks, I didn't have time to check 100+ includes).

I'm using a few:
y_hooks
y_classes
y_groups
y_utils
y_timers
and possibly others.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)