forked from Simnation/Main
Update client.lua
This commit is contained in:
parent
42b1c0c18a
commit
ae1730aae7
1 changed files with 2 additions and 2 deletions
|
@ -123,8 +123,8 @@ function CheckPlayerArrivalAt(targetPos)
|
||||||
local dist = #(GetEntityCoords(player) - vector3(targetPos.x, targetPos.y, targetPos.z))
|
local dist = #(GetEntityCoords(player) - vector3(targetPos.x, targetPos.y, targetPos.z))
|
||||||
if dist < 2.0 then
|
if dist < 2.0 then
|
||||||
DisableAllControlActions(0)
|
DisableAllControlActions(0)
|
||||||
SetEntityCoords(player, -1878.6747, -322.2974, 50.1690, false, false, false, true)
|
SetEntityCoords(player, 1121.6, -1553.79, 36.09, false, false, false, true)
|
||||||
SetEntityHeading(player, 47.9116)
|
SetEntityHeading(player, 178.72)
|
||||||
StartTreatmentSequence(player)
|
StartTreatmentSequence(player)
|
||||||
break
|
break
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue