Local Chat Problem.
#3

Quote:
Originally Posted by MikeEd
Посмотреть сообщение
lanmode has nothing to do with how your script works, show your OnPlayerText or whatever command you use for sending messages(chat)
I have this :
pawn Код:
public OnPlayerText(playerid, text[])
{
    new giver[MAX_PLAYER_NAME];
    new sendername[MAX_PLAYER_NAME];
    new giveplayer[MAX_PLAYER_NAME];
    new tmp[256];
    new string[256];
    new giveplayerid;
    if(ReactionState == R_STATE_ACTIVE)
    {
        if(!strcmp(text, ReactionString, false))
        {
            ReactionState = R_STATE_NOT_ACTIVE;
            GetPlayerName(playerid,giveplayer,MAX_PLAYER_NAME);
            format(string,sizeof(string),"{FFAF00}Fast Event Bot: {F3FF02}%s {FFFFFF}has won the fast event and recieved {F3FF02}%d$ {FFFFFF}!",giveplayer,ReactionCash);
            SendClientMessageToAll(-1,string);
            GivePlayerMoney(playerid,ReactionCash);
            ReactionCash = 0;
        }
Is this the correct one ?
Reply


Messages In This Thread
Local Chat Problem. - by EgyptForLife - 09.09.2014, 19:59
Re: Local Chat Problem. - by MikeEd - 09.09.2014, 20:27
Re: Local Chat Problem. - by EgyptForLife - 09.09.2014, 21:22
Re: Local Chat Problem. - by MikeEd - 09.09.2014, 21:25
Re: Local Chat Problem. - by EgyptForLife - 09.09.2014, 21:32
Re: Local Chat Problem. - by MikeEd - 09.09.2014, 21:38
Re: Local Chat Problem. - by xSmilE - 09.09.2014, 21:46
Re: Local Chat Problem. - by EgyptForLife - 09.09.2014, 22:03
Re: Local Chat Problem. - by xSmilE - 09.09.2014, 22:06
Re: Local Chat Problem. - by EgyptForLife - 09.09.2014, 22:21

Forum Jump:


Users browsing this thread: 1 Guest(s)