Ce Snippet Retirera le menu d’animations de son personnage créé par DarkRP.
- Suivez les indications suivantes pour l’utiliser:
- 1. Placez-le dans un Fichier Lua en domaine Shared ( Exemple: lua/autorun/remove_animations_darkrp.lua )
Code GLUA
hook.Add("PostGamemodeLoaded", "Remove_Animations_DarkRP", function()
if DarkRP then
if SERVER then
concommand.Remove("_DarkRP_DoAnimation")
end
if CLIENT then
concommand.Add("_DarkRP_AnimationMenu", function() end)
end
hook.Remove("loadCustomDarkRPItems", "loadAnimations")
function DarkRP.addPlayerGesture() end
function DarkRP.removePlayerGesture() end
end
end)