mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-29 01:08:54 +00:00
@@ -6,7 +6,7 @@ function ESX.RemoveInteraction(name)
|
||||
interactions[name] = nil
|
||||
end
|
||||
|
||||
ESX.ReigsterInteraction = function(name, onPress, condition)
|
||||
ESX.RegisterInteraction = function(name, onPress, condition)
|
||||
interactions[name] = {
|
||||
condition = condition or function() return true end,
|
||||
onPress = onPress,
|
||||
|
||||
Reference in New Issue
Block a user