Some help with a dilema? - 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: Some help with a dilema? (
/showthread.php?tid=96658)
Some help with a dilema? -
dkorolenchuk - 09.09.2009
So i made a bot that flies from airport to airport to airport.
Spends about a minute stopped at each and im using shamal filterscrip so i want for people to know they can now exit.
So i was wondering what you think is the best way to do this?
Like using PlayerToPoint and a text draw?
Re: Some help with a dilema? -
Sergei - 09.09.2009
You can create a pickup (that type which can be picked up in vehicle) on the way where bot goes. When bot picks it up send client message to all people in shamal interior.
Other option is that you make checkpoint for bot there and when it picks it up send client message.
But you can do it with timer too, but it will need to check distance to that point all the time then.
And it's better to use IsPlayerInRangeOfPoint which is native replacement for PlayerToPoint in 0.3
Re: Some help with a dilema? -
Angelus~ - 09.09.2009
Quote:
Originally Posted by $ЂЯĢ
You can create a pickup (that type which can be picked up in vehicle) on the way where bot goes. When bot picks it up send client message to all people in shamal interior.
Other option is that you make checkpoint for bot there and when it picks it up send client message.
But you can do it with timer too, but it will need to check distance to that point all the time then.
And it's better to use IsPlayerInRangeOfPoint which is native replacement for PlayerToPoint in 0.3 
|
yea but i don't know if IsPlayerInRangeOfPoint will work since they are in an interior and well..not moving >..<
Re: Some help with a dilema? -
BigJayMalcolm - 10.09.2009
Would it work doing IsPlayerInRangeOfPoint on the bot? Then if he is - Send the message to people in the Interior.