Commenting code
This commit is contained in:
parent
c55d70b65b
commit
68a88e4422
4 changed files with 22 additions and 15 deletions
|
@ -1,9 +1,10 @@
|
|||
RegisterCommand('pos', function(source, args)
|
||||
|
||||
|
||||
-- get coordinates
|
||||
local ped = PlayerPedId()
|
||||
local pos = GetEntityCoords(ped)
|
||||
|
||||
-- tell coordinates
|
||||
TriggerEvent('chat:addMessage', {
|
||||
args = { pos.x .. "\n" .. pos.y.. "\n" .. pos.z }
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue