It is possible? - 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: It is possible? (
/showthread.php?tid=625977)
It is possible? -
Learn - 08.01.2017
I's possible to do when player get close to some object, the object removed?
Re: It is possible? -
BiosMarcel - 08.01.2017
Ofcause , either use OnPlayerUpdate or a repeated timer and do loops over all objects and check if the player is close to any of them and remove the ones that he is close to.
Anyways, i would not recommend that if you have too many objects
Re: It is possible? -
Spmn - 08.01.2017
Or just use dynamic areas.
Re: It is possible? -
Learn - 08.01.2017
Quote:
Originally Posted by [Bios]Marcel
Ofcause , either use OnPlayerUpdate or a repeated timer and do loops over all objects and check if the player is close to any of them and remove the ones that he is close to.
Anyways, i would not recommend that if you have too many objects
|
OK, thanks!