Functions
Client-side functions
iCore.player.getData
local player = iCore.player.getData()
print(json.encode(player))iCore.player.freezee
local playerId = PlayerId()
-- freeze
local player = iCore.player.freeze(playerId, true)
-- un freeze
local player = iCore.player.freeze(playerId, false)iCore.player.spawn
-- spawn data
local data = {}
-- required
data['x'] = 0.0; data['y'] = 0.0; data['z'] = 0.0; data['heading'] = 0.0;
-- spawn
iCore.player.spawn(data)iCore.player.openCharacterCreator
iCore.player.setCharacterData
iCore.blip.create
iCore.shared.functions.closestPlayer
iCore.shared.functions.enumerateObjects
iCore.shared.functions.enumeratePeds
iCore.shared.functions.enumerateVehicles
iCore.shared.functions.enumeratePickups
iCore.shared.functions.loadModel
iCore.shared.functions.deleteEntity
iCore.shared.functions.pedSilent
iCore.shared.functions.playAnim
iCore.ui.send
iCore.ui.copy
iCore.vehicle.spawn
iCore.vehicle.customs
iCore.vehicle.isFront
Last updated