SafeZones - 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: SafeZones (
/showthread.php?tid=474758)
SafeZones -
yancarlos4500 - 09.11.2013
Do somebody knows how to do the when a player is in a safezone and he give damage to another player and is not a cop then it will give it him a wanted level.
i want to know how to do safezones
Re: SafeZones -
Tagathron - 09.11.2013
You can use one of streamer plugin functions,where you can create dynamic areas,or use IsPlayerInRangeOfPoint().
So if he is in the zone/range of point execute the code you want.
Re: SafeZones -
Beckett - 09.11.2013
I guess you mean this?
http://pastebin.com/d9AziEhf << Made it in a pastebin due to its long lines.
PS: Apologize for the late reply, had to take a shower :c
Re: SafeZones -
yancarlos4500 - 15.11.2013
Quote:
Originally Posted by DaniceMcHarley
I guess you mean this?
http://pastebin.com/d9AziEhf << Made it in a pastebin due to its long lines.
PS: Apologize for the late reply, had to take a shower :c
|
Yes thats what i want but can somebody help me making the code
Re: SafeZones -
Mattakil - 15.11.2013
SetPlayerHealth, SetPlayerWantedLevel
Re: SafeZones -
yancarlos4500 - 15.11.2013
Men I want to do the when this player are in this zone and hit another player they will get a Wanted level