Execute an client sided event focused to the current player
Last updated 1 month ago
HRLib.RegCommand('freeze', true, true, function(args, _, IPlayer, FPlayer) local targetId = tonumber(args[1]) FPlayer.FocusedEvent('test:freezePlayer', not IsEntityPositionFrozen(targetId)) end, true)
eventName
string
the client sided event name
----
...
any?
the event parameters