Quote:
Originally Posted by Lordz™
Well I'm sorry I think it's becoming because of a mistake in defines, I guess. Here's my chat stuffs of L-AFK.
As same as written on L-AFK:
pawn Код:
#define Disable_AFKCHAT == true //Change it from true to false if you don't want AFK users to be restricted in Chatting.
#if defined Disable_AFKCHAT == true public OnPlayerText(playerid) { if(AFK[playerid] == 1) { SendClientMessage(playerid, red, "You cannot chat while you are in AFK."); } return 0; } #endif
Please change the define to:
pawn Код:
#define Disable_AFKCHAT true
And also, make sure that the AFK variable is set to 0 on /back command.
|
you mean change
PHP код:
#if defined Disable_AFKCHAT == true
into
PHP код:
#if defined Disable_AFKCHAT true