Tiltanf
February 11, 2024, 3:01pm
28
Yeah sure it is! in the config
on this line it says
SetEntityCoords(PlayerPedId(), -2127.6650, -510.0569, 2.1578, false, false, false, true)
replace the -2127.6650, -510.0569, 2.1578
with your desired x, y, and z coords
and it isnt only working for the island, all deep water is dangerous
1 Like
Ist es irgendwie möglich eine Zone zu erstellen wo der Hai nicht spawnt. Weil im Mount Gordo See spawnt der egal auf wie viel ich die Tiefe stelle.
Tiltanf
February 11, 2024, 5:39pm
31
Ja klar! in der Config! ich schaue mal die tage nach warum der im mount gordo see spawnt
Hi I’m not sure how to set the player to dead after the shark attack. I use wasabi_ambulance and when a player dies, they lose all things in their inventory. Could I get some guidance?
Isnt the dead event in the docs from wasabi ?
Tiltanf
February 14, 2024, 6:23pm
35
Hello uh… good question, as you already said their docs are kinda not helping. there isnt a set dead event i guess? have you tried uncommenting
if you do, you need to remove the part below it where it teleports you and lets you wake up
if this doesnt work try setting the health to 0,
im not sure why they would lose their inventory to be fair. if you dont have this enabled it shouldnt happen
the set ped health 0 works but the line you mentioned did nothing
the set ped heath 0 kills them but messes up the animation. and screen movement you had.
Tiltanf
February 15, 2024, 10:13pm
38
can you do a wait then probably? and kill them after the animation is done?
Tiltanf
February 20, 2024, 5:59pm
41
thats because you have a modified chat and that modified chat is requiring something called “ctype”
but no worries, ill help you
just go into the skarbait script under the /shared/functions.lua and search for
function Config_Framework_Notify_Client(msg)
TriggerEvent('chatMessage', "SYSTEM", { 255, 0, 0 }, msg)
-- ESX.ShowNotification(msg)
end
and replace the TriggerEvent line, with your Notification (instead of chat) and msg should be the message
i tryed that already it was not working!
Tiltanf
February 23, 2024, 2:41pm
43
what exactly did you put in there?
and if so try using this as an example:
function Config_Framework_Notify_Client(msg)
if msg == nil then return end
SetNotificationTextEntry("STRING")
AddTextComponentString(msg)
DrawNotification(0,1)
end
Could you possibly add items that players can use to protect themself? like shark repellent
Also wenn ich eine Zone reinpacke spawnen die nurnoch in der Zone sonst nirgends müsste es genau anders rum haben also überall spawnt er ausser in der Zone. Ist das irgendwie auch möglich ?
actually thats a good update idea, will work on that in the weekend! maybe some sort of filter system!
1 Like