mirror of
https://github.com/jimathy/rpemotes.git
synced 2026-06-04 22:31:41 -04:00
25 lines
720 B
Lua
25 lines
720 B
Lua
-- Emotes you add in the file will automatically be added to AnimationList.lua
|
|
local CustomDP = {}
|
|
|
|
CustomDP.Expressions = {}
|
|
CustomDP.Walks = {}
|
|
CustomDP.Shared = {}
|
|
CustomDP.Dances = {}
|
|
CustomDP.AnimalEmotes = {}
|
|
CustomDP.Emotes = {}
|
|
CustomDP.PropEmotes = {}
|
|
|
|
-- Add the custom emotes
|
|
Citizen.CreateThread(function()
|
|
for arrayName, array in pairs(CustomDP) do
|
|
if DP[arrayName] then
|
|
for emoteName, emoteData in pairs(array) do
|
|
-- We don't add adult animations if not needed
|
|
if not emoteData.AdultAnimation or not Config.AdultEmotesDisabled then
|
|
DP[arrayName][emoteName] = emoteData
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end)
|