- Katılım
- 5 yıl 2 ay 10 gün
- Mesajlar
- 54
GARİP KONT SCRİPT
Bu Scriptte Saldır Komutu Sadece Rakibe Köpeği Havlatıyor GTA V Singleplayerdaki gibi rakibe saldırıp ısırsa öldürse
bunu nasıl sağlayabiliriz acaba bilgili bir arkadaş el atsa şu scripti efsane yapsak
saldırı kodu içeriği
Bu Scriptte Saldır Komutu Sadece Rakibe Köpeği Havlatıyor GTA V Singleplayerdaki gibi rakibe saldırıp ısırsa öldürse
bunu nasıl sağlayabiliriz acaba bilgili bir arkadaş el atsa şu scripti efsane yapsak
saldırı kodu içeriği
elseif data.current.value == 'attack_closest' then
if DoesEntityExist(policeDog) then
if not IsPedDeadOrDying(policeDog) then
if GetDistanceBetweenCoords(GetEntityCoords(policeDog), GetEntityCoords(PlayerPedId()), true) <= 15.0 then
local player, distance = ESX.Game.GetClosestPlayer()
if distance ~= -1 then
if distance <= 3.0 then
local playerPed = GetPlayerPed(player)
if not IsPedInCombat(policeDog, playerPed) then
if not IsPedInAnyVehicle(playerPed, true) then
TaskCombatPed(policeDog, playerPed, 0, 16)
end
else
ClearPedTasksImmediately(policeDog)
end
end
![DF](/kingtr.gif)