refactor(es_extended): Add Annotations

This commit is contained in:
Meyndflay
2025-06-18 17:46:17 +08:00
parent b87d841914
commit 13c6bdc61c
@@ -936,6 +936,8 @@ function CreateExtendedPlayer(playerId, identifier, group, accounts, inventory,
self.triggerEvent('esx:updatePlayerData', 'metadata', self.metadata)
end
---@param command string
---@return nil
function self.executeCommand(command)
if type(command) ~= "string" then
error("xPlayer.executeCommand must be of type string!")