mirror of
https://github.com/araxiaonline/Fart.git
synced 2026-06-13 03:02:24 -04:00
Create Fart.lua
This commit is contained in:
10
Fart.lua
Normal file
10
Fart.lua
Normal file
@@ -0,0 +1,10 @@
|
||||
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)
|
||||
Reference in New Issue
Block a user