这是用户在 2024-9-23 23:09 为
https://docs.fivem.net/natives/?_0xEEB9B76A
保存的双语快照页面,由
沉浸式翻译
提供双语支持。
了解如何保存?
FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
Namespace:
CFX
ActivateTimecycleEditor
()
AddAudioSubmixOutput
(submixId: number, outputSubmixId: number)
AddBlipForArea
(x: number, y: number, z: number, width: number, height: number)
AddBlipForCoord
(x: number, y: number, z: number)
AddBlipForEntity
(entity: Entity)
AddBlipForRadius
(posX: number, posY: number, posZ: number, radius: number)
AddMinimapOverlay
(name: string)
AddMinimapOverlayWithDepth
(name: string, depth: number)
AddPedDecorationFromHashes
(ped: Ped, collection: Hash, overlay: Hash)
AddReplaceTexture
(origTxd: string, origTxn: string, newTxd: string, newTxn: string)
AddStateBagChangeHandler
(keyFilter: string, bagFilter: string, handler: func)
AddTextEntry
(entryKey: string, entryText: string)
AddTextEntryByHash
(entryKey: Hash, entryText: string)
ApplyForceToEntity
(entity: Entity, forceType: number, x: number, y: number, z: number, offX: number, offY: number, offZ: number, boneIndex: number, isDirectionRel: boolean, ignoreUpVec: boolean, isForceRel: boolean, p12: boolean, p13: boolean)
BreakOffVehicleWheel
(vehicle: Vehicle, wheelIndex: number, leaveDebrisTrail: boolean, deleteWheel: boolean, unknownFlag: boolean, putOnFire: boolean)
CallMinimapScaleformFunction
(miniMap: number, fnName: string)
CanPlayerStartCommerceSession
(playerSrc: string)
CancelEvent
()
ClearPedProp
(ped: Ped, propId: number)
ClearPedSecondaryTask
(ped: Ped)
ClearPedTasks
(ped: Ped)
ClearPedTasksImmediately
(ped: Ped)
ClearPlayerWantedLevel
(player: Player)
ClearVehicleXenonLightsCustomColor
(vehicle: Vehicle)
CloneTimecycleModifier
(sourceModifierName: string, clonedModifierName: string)
CommitRuntimeTexture
(tex: long)
CreateAudioSubmix
(name: string)
ActivateTimecycleEditor - FiveM Natives @ Cfx.re Docs