ESX.Game.IsSpawnPointClear

1
ESX.Game.IsSpawnPointClear(coords, radius)

Returns a boolean if the spawn point coords area is clear from vehicles within the parsed radius. 如果重生坐标区距离解析的半径范围内的车辆清晰。

参数

参数 数据类型 可选项 默认值 说明
coords vector3 No - 要搜索的坐标
radius number No - 最大搜寻距离