Help with a command.
#1

pawn Код:
{
    if (strcmp("/dishwasher", cmdtext, true, 10) == 0)
    {
        {
            SetPlayerCheckpoint(playerid, HotPoint1, 3.0);
            GameTextForPlayer(playerid, "~g~You started the job, good luck!", 3000, 4);
            new name[MAX_PLAYER_NAME], string[48];
            GetPlayerName(playerid, name, sizeof(name));
            SendClientMessageToAll(COLOR_RED, string);
            return 1;
        }
    }
    return 0;
}
Okay, so I have got this far, now I wanna know, how can I add to that, a position to do the job? for ex., The job was to be started at blueberry, and if not in that place, it sends: You must be in [the place] to do this job.


Please help,
thanks in advance.
Reply


Messages In This Thread
Help with a command. - by iGetty - 04.03.2011, 23:30
AW: Help with a command. - by Nero_3D - 04.03.2011, 23:39
Re: AW: Help with a command. - by iGetty - 04.03.2011, 23:43
Re: Help with a command. - by antonio112 - 05.03.2011, 00:23
Re: Help with a command. - by NiXeL - 05.03.2011, 05:23
Re: Help with a command. - by OKStyle - 05.03.2011, 05:33

Forum Jump:


Users browsing this thread: 1 Guest(s)