Skip to Content

サーバーエクスポート

ハスキー

プレイヤーが指定された車両エンティティのキーを持っているかどうかを返します。

exports.qbx_vehiclekeys:HasKeys(source, vehicle)
  • ソースnumber
  • 車である:number

ギブ・キー

キーをプレイヤーに渡し、ドアのロック解除/ロック解除とエンジンの切り替えができるようにする。 skipNotificationがtrueでない限り、プレイヤーに通知します。

exports.qbx_vehiclekeys:GiveKeys(source, vehicle, skipNotification)
  • ソースnumber
  • 車である:number
  • skipNotification?boolean

キーを削除する

プレーヤーからキーを削除します。skipNotificationがtrueでない限り、プレーヤーに通知します。

exports.qbx_vehiclekeys:RemoveKeys(source, vehicle, skipNotification)
  • ソースnumber
  • 車である:number
  • skipNotification?boolean
Last updated on