SA-MP Forums Archive
Script Question - 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: Script Question (/showthread.php?tid=245013)



Script Question - Stefano.R - 29.03.2011

Hey

I got a Auto Repair/Flip FilterScript and i wanted to know how to only activate it when the player is in a teleport area for exemple /stunt (it's a DM server. So the FS will not be activate outside the /stunt).

Thank you in advance!



Re: Script Question - Medal Of Honor team - 29.03.2011

use IsPlayerInArea


Re: Script Question - xir - 29.03.2011

Quote:
Originally Posted by Medal Of Honor team
Посмотреть сообщение
use IsPlayerInArea
Isn't IsPlayerInRangeOfPoint faster?


Re : Script Question - Stefano.R - 29.03.2011

Ok thanks i'll try


Re: Script Question - Jochemd - 29.03.2011

Do you want it only to be activates when he did /stunt or also when he is just near? If yes, you can simply set a timer and a variable, without checking positions.