Detect if player is near object
#1

Is there any function to detect if player is at object, like example: IsPlayerAtObject....(Objectid); something like this ?
Reply
#2

I think No, But you can use this:
https://sampwiki.blast.hk/wiki/Areacheck
http://forum.sa-mp.com/showthread.ph...ight=Areacheck
Reply
#3

Ok thanks then i will make it like /dropobject it will save objects x y z and if player is at right cords he can pick it up.
Reply
#4

Quote:
Originally Posted by VoViNaToR
Посмотреть сообщение
Ok thanks then i will make it like /dropobject it will save objects x y z and if player is at right cords he can pick it up.
1st Read This and This
Reply
#5

Thanks it is very useful
Reply
#6

I want that too. It's Like IsPlayerInRangeOfObject
Reply
#7

Ohh, You can use This too With Object x y z cords, use it On OnPlayerUpdate callback.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)