SA-MP Forums Archive
Help with player Near with you. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Help with player Near with you. (/showthread.php?tid=430904)



Help with player Near with you. - z3r0w1zard - 15.04.2013

Hello.I need help with if player near with you example if player near with me and i use /piss system give message z3r0w1zard pissed playername. anyone can help me?


Re: Help with player Near with you. - L.Hudson - 15.04.2013

If you make things more clear for us to read, of course we can help you.


AW: Help with player Near with you. - ulbi1990 - 15.04.2013

Are you gonna troll us? You ask here for every single shi*. Maybe does you start your fingers for using ****** and the samp wiki and learn to script....


Re: Help with player Near with you. - DaTa[X] - 15.04.2013

nice cmd btw
pawn Код:
stock Float:GetPlayerDistanceFromPlayer(playerid, targetid)
{
    new Float:fDist[3];
    GetPlayerPos(playerid, fDist[0], fDist[1], fDist[2]);
    return GetPlayerDistanceFromPoint(targetid, fDist[0], fDist[1], fDist[2]);
}



Re: Help with player Near with you. - Pottus - 15.04.2013

You could try this

http://forum.sa-mp.com/showthread.ph...light=defecate


Re: Help with player Near with you. - alimash - 15.04.2013

Actully i don't understand You mean when you type /piss then a pm send to a near player like this :
Example : id 12 is pissing on you

Correct ?