โค๏ธ FX-LOVE โ
Advanced interaction system for RedM allowing players to perform synced couple animations such as hug, kiss, sit, and more with request/accept mechanics and full framework compatibility.
๐ฆ INSTALLATION โ
ensure fx-loveโข Place the script inside resources/fx-love โข Add ensure fx-love to your server.cfg โข Restart your server
โ๏ธ BASIC CONFIG โ
Config.Language = "en"
Config.OpenMenuCommand = "love"
Config.AcceptRequest = "accept"โข Language โ system language โข OpenMenuCommand โ command to open love menu โข AcceptRequest โ command to accept animation
๐ฎ INTERACTION SYSTEM โ
Config.Distance = 5
Config.RequestTime = 30000โข Distance โ max player interaction range โข RequestTime โ how long request stays active โข Prevents spam and abuse
๐ง REQUEST SYSTEM โ
Config.AcceptRequest = "accept"โข Target player must accept request โข Prevents forced animations โข Shows notification with request message
๐ซ INTERACTION LIMIT SYSTEM โ
Config.CanInteract = function(src)โข Blocks interaction in restricted zones โข Prevents usage in specific areas โข Fully customizable
๐ฎ JOB RESTRICTION SYSTEM โ
Config.OpenMenuJobRequired = falseโข false โ everyone can use โข table โ restrict by job โข Example โ sheriff / doctor only
๐ท NPC SYSTEM โ
Config.NPCInteraction = trueโข Enables NPC-based interaction โข Optional feature โข Can be disabled
๐ฌ ANIMATION SYSTEM โ
Config.Animations = {
["hug"] = {
label = "Hug",
}
}โข Defines all synced animations โข player โ initiator animation โข target โ receiver animation โข Supports position offsets
๐๏ธ CHAIR / BED REQUIREMENT โ
nededChair = { ... }
nededBeds = { ... }โข Some animations require props โข Example โ chair or bed โข Prevents animation misuse
๐ฏ POSITION SYSTEM โ
posX = 0.05
posY = 0.40
posZ = 0.0
rotZ = 180.0โข Controls player alignment โข Ensures synced animation โข Fully customizable
๐ญ ANIMATION TYPES โ
["kiss"]
["hug"]
["slap"]
["sit"]โข Multiple interaction types available โข Includes romantic, social, and fun animations โข Expandable system
๐ฏ COMMAND SYSTEM โ
/love
/acceptโข /love โ opens interaction menu โข /accept โ accepts animation request
๐ CLOTHING SYSTEM โ
Config.UnDress = function()
Config.Dress = function()โข Controls clothing behavior โข Can remove / restore outfit โข Fully customizable
๐ EFFECT SYSTEM โ
Config.FinishAnimaiton = function()โข Executes after animation ends โข Example โ reduce stress โข Can trigger custom effects
๐จ PROP REQUIREMENT LIST โ
Config.Beds = { ... }
Config.ChairList = { ... }โข Defines usable props โข Required for certain animations โข Must match map props
๐ซ PED RESTRICTION SYSTEM โ
Config.BlackListPedTypes = {
["6"] = "PED_TYPE_COP",
}โข Prevents interaction with certain ped types โข Example โ police / animals โข Improves realism
๐ NOTIFY SYSTEM โ
Notify({
text = "Request Sent",
type = "info"
})โข Framework-based notification system โข Supports VORP / RSG / REDEMRP
โ ๏ธ IMPORTANT NOTES โ
โข Players must be close to interact โข Target must accept request โข Some animations require props โข Blacklisted ped types cannot interact โข Distance must be configured properly
๐จ COMMON MISTAKES โ
โข Animation not starting โ target didnโt accept โข Players too far โ distance too high โข Animation broken โ wrong offsets โข Menu not opening โ wrong command โข Chair/bed required โ no prop nearby
๐ SUMMARY โ
FX-LOVE provides:
โข Synced player interaction system โข Request / accept animation system โข Multiple animation types โข Prop-based interaction system โข Full framework compatibility
ยฉ Fixitfy Development
