How to do when the play is near a object,execute statement - 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: How to do when the play is near a object,execute statement (
/showthread.php?tid=313566)
How to do when the play is near a object,execute statement -
Soap_MacTavish - 26.01.2012
I want when the play is near a object,execute statement.How to do?
For example,when player near the telephone booth,show some message.
Re: How to do when the play is near a object,execute statement -
[HK]Ryder[AN] - 26.01.2012
IsPlayerInRangeOfPoint
Re: How to do when the play is near a object,execute statement -
henry jiggy - 26.01.2012
use IsPlayerInRangeOfPoint in a timer which loops through all players regularly,
or at OnPlayerUpdate(Not Recommended)