JensDerZocker Posted January 8, 2019 Posted January 8, 2019 Good day dear people I wanted to ask how it is possible to check if a player is near another player I would appreciate an answer Thank you regards
Dernert Posted January 9, 2019 Posted January 9, 2019 15 Seconds on Wiki https://wiki.rage.mp/index.php?title=Entity::getNearestPlayerTo https://wiki.rage.mp/index.php?title=Object::isAnyObjectNearPoint https://wiki.rage.mp/index.php?title=Object::isObjectNearPoint Only searched for "near" (clientside) 2
JensDerZocker Posted January 9, 2019 Author Posted January 9, 2019 vor 1 Stunde schrieb Dernert: https://wiki.rage.mp/index.php?title=Entity::getNearestPlayerTo yes, what kind of things does he need? So how position x of the player? can you show me an example?
Dernert Posted January 11, 2019 Posted January 11, 2019 (edited) Return Value is Player. So, try to store it in a variable/array and print it out on Console or as Ingame Chat Message. Maybe its only the Playername and not the Position, idk. Edited January 11, 2019 by Dernert
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now