[YARDIM] Kod çalışmıor

0 Üye ve 1 Ziyaretçi konuyu incelemekte.

Çevrimdışı Aziz

  • Yeni Üye
  • *
    • İleti: 25
: 11 Ağustos 2020, 22:56:04
function onVehicleDamage(attacker, wep, loss, x, y, z, tire)
        if (exports.team:isPlayerInTeam(source, "TSK") and exports.team:isPlayerInTeam(attacker, "TSK")) then
            cancelEvent(true)
        elseif (exports.team:isPlayerInTeam(source, "POH") and exports.team:isPlayerInTeam(attacker, "POH")) then
            cancelEvent(true)
   end
end
addEventHandler("onClientVehicleDamage", root, onVehicleDamage)

askeri sunucumda bu iki takımın oyuncuları birbirlerinin araçlarına hasar verebilio bunu engelleyemedim yardımcı olur musunuz?
 


MTASATURK

[YARDIM] Kod çalışmıor
« : 11 Ağustos 2020, 22:56:04 »