SA-MP Forums Archive
A question of a sort... - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: A question of a sort... (/showthread.php?tid=252474)



A question of a sort... - Vero - 01.05.2011

Hey everyone, I've just had a thought for my samp server, as it is based on the Fallout series I thought it would be cool to have radiation zones, where you lose like 5 health every 5 seconds or something. The thing is i don't have the foggiest idea on how to go about doing this.

Would it be possible to do it with IsPlayerInRangeOfPoint?


Re: A question of a sort... - MadeMan - 01.05.2011

IsPlayerInRangeOfPoint + SetTimer


Re: A question of a sort... - Tommy_Mandaz - 01.05.2011

Yup, make it like in the center of the area you want your radiation zone to be and then make it huge radius so anyone say 100 away from the center will lose health with SetTimerEx.