Вы используете устаревший браузер. Этот и другие сайты могут отображаться в нём некорректно. Вам необходимо обновить браузер или попробовать использовать другой.
function main()
while not isSampAvailable() do wait(0) end
sampRegisterChatCommand("GetCord", function() local pX, pY, pZ = getCharCoordinates(PLAYER_PED))
while true do
wait(0)
end
end
function main()
while not isSampAvailable() do wait(0) end
sampRegisterChatCommand("GetCord", function() local pX, pY, pZ = getCharCoordinates(PLAYER_PED))
while true do
wait(0)
end
end
function main()
while not isSampAvailable() do wait(0) end
sampRegisterChatCommand("GetCord", function() local pX, pY, pZ = getCharCoordinates(PLAYER_PED) sampAddChatMessage(pX..pY..pZ, -1) end)
while true do
wait(0)
end
end
function main()
while not isSampAvailable() do wait(0) end
sampRegisterChatCommand("GetCord", function() local pX, pY, pZ = getCharCoordinates(PLAYER_PED) sampAddChatMessage(pX..pY..pZ, -1) end)
while true do
wait(0)
end
end
function main()
while not isSampAvailable() do wait(0) end
sampRegisterChatCommand("GetCord", function() local pX, pY, pZ = getCharCoordinates(PLAYER_PED) sampAddChatMessage("X:"pX.. " Y:" ..pY.. " Z:" .. pZ, -1) end)
while true do
wait(0)
end
end
function main()
while not isSampAvailable() do wait(0) end
sampRegisterChatCommand("GetCord", function() local pX, pY, pZ = getCharCoordinates(PLAYER_PED) sampAddChatMessage("X:"pX.. " Y:" ..pY.. " Z:" .. pZ, -1) end)
while true do
wait(0)
end
end
function main()
sampRegisterChatCommand('coords', coords)
end
function coords()
local x, y, z = getCharCoordinates(PLAYER_PED)
sampAddChatMessage(('Your coords: X: %.2f Y: %.2f Z: %.2f'):format(x, y, z))
end