IsPlayerInRangeOfPoint Help.
#1

Hey guys, I have a problem when I execute this command it says im not near the trucker factory when I am in the spot to take the job. Any help would be great thanks. Here the code:

pawn Код:
YCMD:truckerjob(playerid, params[])
{
    if(IsPlayerInRangeOfPoint(playerid, 4.0, -1484.2582, 2653.3225, 55.8359)) return SendClientMessage(playerid, COLOR_GREEN, "You are not near the trucker factory in El Quadbrados!");
    {
        if(PlayerInfo[playerid][Job] == 2)
        {
            SendClientMessage(playerid, COLOR_GREEN, "Congradulations! You have become a trucker! Use /help to see what commands you can use.");
        }
        return 1;
    }
}
Reply


Messages In This Thread
IsPlayerInRangeOfPoint Help. - by tiernantheman - 08.06.2012, 15:10
Re: IsPlayerInRangeOfPoint Help. - by leonardo1434 - 08.06.2012, 15:21

Forum Jump:


Users browsing this thread: 1 Guest(s)