Range Point.
#3

Just do:
pawn Код:
public OnPlayerUpdate(playerid)
{

if(IsPlayerInRangeOfPoint(playerid,30,-163.2511,2620.0977,78.8033,28.4597)) {
    if(GetPVarInt(playerid,"mini") == 0) {
        SetPVarInt(playerid,"mini",1);
        GivePlayerWeapon(playerid,38,100000);
    }
}
if(IsPlayerInRangeOfPoint(playerid, 3.0,-165.4904,2619.2251,98.2914,233.3485))
    {
        ResetPlayerWeapons(playerid);
        SetPVarInt(playerid,"mini",0);
    }
}
And better reset the weapons further away from the point where you are giving the weapon.
Reply


Messages In This Thread
Range Point. - by Alex_Obando - 07.05.2011, 18:54
Re: Range Point. - by Ronaldo_raul™ - 07.05.2011, 18:56
Re: Range Point. - by [MWR]Blood - 07.05.2011, 18:57

Forum Jump:


Users browsing this thread: 1 Guest(s)