IsPlayerInRange problem
#4

pawn Код:
if(strcmp("/duty", cmdtext, true, 5) == 0)
{
    if(PlayerInfo[playerid][pPD] < 1)
    return SendClientMessage(playerid, COLOR_ERROR,"ERROR.");
    if(IsPlayerInRangeOfPoint(playerid, 5.0,-2500.2500,250.2500,5.2500))
    SendClientMessage(playerid, COLOR_ERROR,"ERROR.");
    else
    SendClientMessage(playerid, COLOR_WHITE, "Police duty");
    SetPlayerHealth(playerid, 100.100);
    SetPlayerArmour(playerid, 100.100);
    SetPlayerColor(playerid, COLOR_WHITE);
    return 1;
}
Reply


Messages In This Thread
IsPlayerInRange problem - by PrivatioBoni - 10.09.2013, 12:56
Re: IsPlayerInRange problem - by Areax - 10.09.2013, 12:57
Re: IsPlayerInRange problem - by PrivatioBoni - 10.09.2013, 13:06
Re: IsPlayerInRange problem - by Areax - 10.09.2013, 13:12
Re: IsPlayerInRange problem - by PrivatioBoni - 10.09.2013, 13:20
Re: IsPlayerInRange problem - by Konstantinos - 10.09.2013, 13:25
Re: IsPlayerInRange problem - by Areax - 10.09.2013, 13:25
Re: IsPlayerInRange problem - by PrivatioBoni - 10.09.2013, 13:31

Forum Jump:


Users browsing this thread: 1 Guest(s)