OnPlayerDisconnect code problem
#3

/q is a client command, it won't be handed to the script.

You need to use OnPlayerDisconnect properly.

Код:
public OnPlayerDisconnect(playerid)
{
	if(!INGAME[playerid][LOGIN]) return SendClientMessage(playerid,-1,"not login");
That line, is also redundant as the player has disconnected, so therefore it won't display to anyone.
Reply


Messages In This Thread
OnPlayerDisconnect code problem - by grymtn - 08.04.2017, 01:48
Re: OnPlayerDisconnect code problem - by coool - 08.04.2017, 03:51
Re: OnPlayerDisconnect code problem - by Sew_Sumi - 08.04.2017, 03:58

Forum Jump:


Users browsing this thread: 1 Guest(s)