Does anyone know how to get XYZ coordinates of where your standing ingame?(its for a plugin im making)
thanks in advance
Solved Getting XYZ coordinates?
Discussion in 'Rust Development' started by just1n_rocks, Jun 1, 2015.
-
Wulf Community Admin
player.transform.position
-
is there a way i can do that In-game i need the coords for a plugin im makingLast edited by a moderator: Jun 1, 2015 -
What do you mean in-game? Your plugin will need to get the player you want to find the position of and then do with it what you want.
-
-
Wulf Community Admin
Code:PLUGIN.Title = "Helpz I'm Lost" PLUGIN.Version = V(0, 1, 0) PLUGIN.Description = "No" PLUGIN.Author = "Grumpy Cat"function PLUGIN:Init() command.AddChatCommand("loc", self.Plugin, "Location") endfunction PLUGIN:Location(player) rust.SendChatMessage(player, player.transform.position) end
-
-
is there a new command for this?
(00:51:33) | [RCON] player.transform.position
(00:51:33) | Command not found -
-
-
Do I just create a plugin.cs file and put in Plugin Folder then oxide.reload *? Tried and doesn't work. -
-
Guess the player.transform.position command is for an older version of Oxide. Anybody know the updated command?
-
Thank you!
-
-
Wulf Community Admin
-
Last edited by a moderator: Dec 18, 2017
-
Is there a way to get the position of all players using console command?
-
Wulf Community Admin