Roleplay chat... i must help
#2

here use this stock

pawn Код:
stock PlayerToPlayer(playerid,targetid,Float:distance)
{
    new Float:x, Float:y, Float:z;
    GetPlayerPos(playerid,x,y,z);
    if(IsPlayerInRangeOfPoint(targetid,distance,x,y,z))
    {
        return true;
    }
    return false;
}
pawn Код:
new targetid;
if(IsPlayerToPlayer(playerid, targetid, 10))
Reply


Messages In This Thread
Roleplay chat... i must help - by Lirbo - 17.04.2014, 23:10
Re: Roleplay chat... i must help - by DarkLored - 17.04.2014, 23:16
Re: Roleplay chat... i must help - by Lirbo - 17.04.2014, 23:50
Re: Roleplay chat... i must help - by DarkLored - 17.04.2014, 23:55
Re: Roleplay chat... i must help - by Lirbo - 17.04.2014, 23:59
Re: Roleplay chat... i must help - by DarkLored - 18.04.2014, 00:13
Re: Roleplay chat... i must help - by Lirbo - 18.04.2014, 00:21
Re: Roleplay chat... i must help - by DarkLored - 18.04.2014, 00:27
Re: Roleplay chat... i must help - by Lirbo - 18.04.2014, 00:47

Forum Jump:


Users browsing this thread: 1 Guest(s)