New Checkpoint Help.
#2

I believe that it has to be done in OnPlayerText

just do something like PlayerAtCheckpoint[playerid] = 1; when he enter that checkpoint

something like this

OnPlayerText
pawn Код:
if(PlayerAtCheckpoint[playerid] == 1)
    {
        if (strcmp(text,"1",true) == 0)
        {
            SendClientMessage(playerid,0x38FF06FF,"Selection 1");
            PlayerAtCheckpoint[playerid] = 0;
            return 0;
        }
        else if (strcmp(text,"2",true) == 0)
        {
            SendClientMessage(playerid,0x38FF06FF,"Selection 2");
            PlayerAtCheckpoint[playerid] = 0;
            return 0;
        }
        else
        {
            SendClientMessage(playerid,0xE60000FF,"Must select 1 or 2.");
            return 0;
        }
    }
Reply


Messages In This Thread
New Checkpoint Help. - by 6tynine - 06.07.2009, 19:55
Re: New Checkpoint Help. - by happyface - 06.07.2009, 20:11
Re: New Checkpoint Help. - by 6tynine - 06.07.2009, 20:25
Re: New Checkpoint Help. - by 6tynine - 06.07.2009, 20:35
Re: New Checkpoint Help. - by happyface - 06.07.2009, 20:41

Forum Jump:


Users browsing this thread: 1 Guest(s)