1
0
Fork 0
forked from Simnation/Main
This commit is contained in:
Nordi98 2025-08-11 23:31:05 +02:00
parent ae1730aae7
commit aa78a2febb
5 changed files with 20 additions and 22 deletions

View file

@ -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)

View file

@ -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