mirror of
https://github.com/jimathy/rpemotes.git
synced 2026-07-24 06:23:53 -04:00
* Major Update - Convert to RPEmotes. - Add support for colors on particles. - Removed an unusual check when using the pay emote function. - Added config option to change cancel key. - Changed all keys to lowercase to prevent the "key no worky" bug. - Changed the open key to f4. - Improved and cleaner version check. - Updated events as the usage was deprecated. - Added a check to remove any unsupported emotes such as ones unsupported from game builds and improved the adult animation removal. * Fix * Changes * Update README.md
27 lines
722 B
Lua
27 lines
722 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
|
|
for arrayName, array in pairs(CustomDP) do
|
|
if RP[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
|
|
RP[arrayName][emoteName] = emoteData
|
|
end
|
|
end
|
|
end
|
|
-- Free memory
|
|
CustomDP[arrayName] = nil
|
|
end
|
|
-- Free memory
|
|
CustomDP = nil
|