Rape help
#8

like this ?

pawn Код:
stock IsPlayerNearPlayer(playerid, targetid, Float:radius)
{
    new Float:x, Float:y, Float:z;
    GetPlayerPos(targetid, x, y, z);
    if(IsPlayerInRangeOfPoint(playerid, radius ,x, y, z))
    {
        return 1;
    }
    return 0;
}
//but typically its just the playerid u want to the target and the distance
if(IsPlayerNearPlayer(playerid, 5, 10.0))
{
   SendClientMessage(playerid, COLOR_RED, "No Players Close Enough To Rape."
}
Reply


Messages In This Thread
Rape help - by Ananisiki - 13.03.2013, 23:23
Re: Rape help - by Glad2BeHere - 13.03.2013, 23:33
Re: Rape help - by Ananisiki - 13.03.2013, 23:54
Re: Rape help - by Eminem 2ka9 - 14.03.2013, 00:07
Re: Rape help - by Ananisiki - 14.03.2013, 00:14
Re: Rape help - by Ananisiki - 14.03.2013, 00:36
Re: Rape help - by Scrillex - 14.03.2013, 00:43
Re: Rape help - by Ananisiki - 14.03.2013, 00:49
Re: Rape help - by Scrillex - 14.03.2013, 00:52

Forum Jump:


Users browsing this thread: 1 Guest(s)