Las Venturas Playground
Admin movement command - Printable Version

+- Las Venturas Playground (https://forum.sa-mp.nl)
+-- Forum: Main Talk (https://forum.sa-mp.nl/forum-3.html)
+--- Forum: Development (https://forum.sa-mp.nl/forum-16.html)
+--- Thread: Admin movement command (/thread-6618.html)



Admin movement command - pdescobar - 02-26-2008

LVP 2.x has an admin command "/up distance" that moves you up (and probably down if negative) a certain amount. I thought that was a neat little tool for getting to hard-to-reach places and made a generic "/move" command for my local MTA experiments that will move you around in a variety of directions. My command takes the syntax
Code:
/move <direction> <distance>
where direction is one of
  • up
  • down
  • left
  • right
  • forward
  • back
  • north
  • south
  • east
  • west
(all that matters is the first letter, and in the current version "/move noodle" would move you north too)

The code is posted at http://lua.pastebin.com/m18445e81 although it doesn't necessarily follow LVP coding conventions since I wrote it a while ago for my own use.

Would something like this be useful for admins on LVP 3?


Re: Admin movement command - tomozj - 02-26-2008

I believe so. We could however do it as like some sort of air break thing controlled by the keyboard?

That'd be neat.