mirror of
https://github.com/darksaid98/ylle_beds.git
synced 2026-12-04 00:48:52 +00:00
Update client.lua
This commit is contained in:
1 parent
ede727626c
commit
ea81823f82
1 file changed
+2
-2
@@ -63,7 +63,7 @@ function bedActive(x, y, z, heading)
|
|||||||
if IsControlJustReleased(0, Keys['X']) then
|
if IsControlJustReleased(0, Keys['X']) then
|
||||||
ClearPedTasks(GetPlayerPed(-1))
|
ClearPedTasks(GetPlayerPed(-1))
|
||||||
FreezeEntityPosition(GetPlayerPed(-1), false)
|
FreezeEntityPosition(GetPlayerPed(-1), false)
|
||||||
SetEntityCoords(GetPlayerPed(-1), x, y + 0.5, z)
|
SetEntityCoords(GetPlayerPed(-1), x + 1.0, y, z)
|
||||||
InAction = false
|
InAction = false
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@@ -75,4 +75,4 @@ function headsUp(text)
|
|||||||
SetTextComponentFormat('STRING')
|
SetTextComponentFormat('STRING')
|
||||||
AddTextComponentString(text)
|
AddTextComponentString(text)
|
||||||
DisplayHelpTextFromStringLabel(0, 0, 1, -1)
|
DisplayHelpTextFromStringLabel(0, 0, 1, -1)
|
||||||
end
|
end
|
||||||
Reference in new issue
Block a user