Cant use Chat ...[in game]
#3

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 
Reply


Messages In This Thread
Cant use Chat ...[in game] - by M3mPHi$_S3 - 15.12.2012, 13:17
Re: Cant use Chat ...[in game] - by Lordzy - 15.12.2012, 13:25
Re: Cant use Chat ...[in game] - by M3mPHi$_S3 - 15.12.2012, 13:28
Re: Cant use Chat ...[in game] - by Lordzy - 15.12.2012, 13:32
Re: Cant use Chat ...[in game] - by Sinner - 15.12.2012, 13:41
Re: Cant use Chat ...[in game] - by Mean - 15.12.2012, 13:42
Re: Cant use Chat ...[in game] - by Lordzy - 15.12.2012, 13:43
Re: Cant use Chat ...[in game] - by M3mPHi$_S3 - 15.12.2012, 13:45
Re: Cant use Chat ...[in game] - by Lordzy - 15.12.2012, 13:54
Re: Cant use Chat ...[in game] - by Mean - 15.12.2012, 13:58

Forum Jump:


Users browsing this thread: 1 Guest(s)