Installation
How to install Artz Menu
Last updated
How to install Artz Menu
Last updated
-- Artz Menu Exports
lang = Config.MenuLanguage
exports("EmoteCommandStart", function(emoteName, textureVariation)
EmoteCommandStart(nil, {emoteName, textureVariation}, nil)
end)
exports("WalkCommandStart", function(walkName)
WalkCommandStart(walkName)
end)
exports("ExpressionCommandStart", function(expressionName)
if RP then
if RP.Expressions[expressionName] ~= nil then
SetPlayerPedExpression(RP.Expressions[expressionName][1], true)
end
elseif DP then
if DP.Expressions[expressionName] ~= nil then
OnEmotePlay(DP.Expressions[expressionName])
end
else
print("Contact to developer, because you are not using a EmoteMenu compatible!")
end
end)
exports("EmoteCancel", EmoteCancel)
exports("CanCancelEmote", function(State)
CanCancel = State == true
end)
exports("GetEmotes", function()
return RP and RP or DP
end)
exports("GetConfig", function()
return Config
end)