SA-MP Forums Archive
Safe zone for Roleplay server - 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: Safe zone for Roleplay server (/showthread.php?tid=467638)



Safe zone for Roleplay server - hichay - 04.10.2013

any one can give me FS Safe zone...it's anyone in this zone kill the other people will jail or Fine with money


Re: Safe zone for Roleplay server - Bingo - 04.10.2013

Try here dear, Its easy to script Just start learning from small var's to high.

https://sampwiki.blast.hk/wiki/IsPlayerInRangeOfPoint

*Learn here: http://wiki.sa-mp.com


Re: Safe zone for Roleplay server - Mattakil - 04.10.2013

under OnPlayerDeath:
pawn Код:
if(IsPlayerInRangeOfPoint(killerid, Distance, X, Y, Z)
    {
    //kick or jail or w/e here
    }