forked from Simnation/Main
ed
This commit is contained in:
parent
ae1730aae7
commit
aa78a2febb
5 changed files with 20 additions and 22 deletions
|
@ -123,8 +123,8 @@ function CheckPlayerArrivalAt(targetPos)
|
|||
local dist = #(GetEntityCoords(player) - vector3(targetPos.x, targetPos.y, targetPos.z))
|
||||
if dist < 2.0 then
|
||||
DisableAllControlActions(0)
|
||||
SetEntityCoords(player, 1121.6, -1553.79, 36.09, false, false, false, true)
|
||||
SetEntityHeading(player, 178.72)
|
||||
SetEntityCoords(player, -1878.6747, -322.2974, 50.1690, false, false, false, true)
|
||||
SetEntityHeading(player, 47.9116)
|
||||
StartTreatmentSequence(player)
|
||||
break
|
||||
end
|
||||
|
@ -152,7 +152,7 @@ function StartTreatmentSequence(playerPed)
|
|||
|
||||
-- Spieler an Koordinate setzen
|
||||
SetEntityCoords(playerPed, 1121.6, -1553.79, 36.09)
|
||||
SetEntityHeading(playerPed, 178.72)
|
||||
SetEntityHeading(playerPed, 175.78)
|
||||
EnableAllControlActions(0)
|
||||
DoScreenFadeIn(1000)
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ Config.DoctorModel = "s_m_m_doctor_01"
|
|||
Config.StretcherProp = "v_med_bed2"
|
||||
|
||||
-- Behandlungskosten
|
||||
Config.TreatmentPrice = 5000
|
||||
Config.TreatmentPrice = 200
|
||||
|
||||
-- Cooldown
|
||||
Config.TreatmentCooldown = 30
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue