IsPlayerInRangeOfPoint Help.
#2

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