Files
Fart/Fart.lua
Manmadedrummer 7bd02d73e7 Create Fart.lua
2025-06-30 21:14:51 -04:00

11 lines
314 B
Lua

local FART_EMOTE_ID = 39
local SOUND_ID = 70500 -- Your custom sound entry ID
local function OnTextEmote(event, player, textEmote, emoteNum, guid)
if textEmote == FART_EMOTE_ID then
player:PlayDirectSound(SOUND_ID) -- Everyone nearby hears the fart
end
end
RegisterPlayerEvent(24, OnTextEmote)