Problem with this simple job.
#3

Quote:
Originally Posted by JhnzRep
Посмотреть сообщение
if(IsPlayerInRangeOfPoint(playerid, BLAH BLAH)

https://sampwiki.blast.hk/wiki/IsPlayerInRangeOfPoint
Thanks for the information. Would this work?
pawn Код:
CMD:truck(playerid, params[])
{
    if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 455)
    {
        if(IsPlayerInRangeOfPoint(playerid, 3.0,-62.0572,-1121.8473,1.3233)) return SendClientMessage(playerid, COLOR_LIMEGREEN, "You have started the job. Proceed to the checkpoint");
        {
            truckjobrunning = 1;
            SetPlayerCheckpoint(playerid, Checkpoint1, 3.0);
            GameTextForPlayer(playerid, "~g~You have started the job.", 3000, 3);
        }
    }
    else
    {
        SendClientMessage(playerid, COLOR_RED, "You're not in range of the Truck Job. /jobhelp for more information");
    }
    return 1;
}
Reply


Messages In This Thread
Problem with this simple job. - by rangerxxll - 26.02.2012, 03:13
Re: Problem with this simple job. - by JhnzRep - 26.02.2012, 03:22
Re: Problem with this simple job. - by rangerxxll - 26.02.2012, 03:39

Forum Jump:


Users browsing this thread: 1 Guest(s)