جربته؟
الكود اللي عطيتك بيطلع اسم اللاعب قتل نفسه مب لو احد لمسه بعدين هو طاح بكيفه فهمت الفكره لو تبيه ادق خذ
addEventHandler("onClientVehicleDamage",root,
function(Attacker)
if(isElement(Attacker) and getElementType(Attacker) == "vehicle") then
Killer = getVehicleOccupant(Attacker)
Player = getVehicleOccupant(source)
setElementData(Player,"Damager",getPlayerName(Killer))
if (isElementInWater(source)) then
killPed(Player)
local d=getElementData(Player,"Damager")
if d~=nil then
outputChatBox("The Player "..tostring(d).." Kill "..getPlayerName(Player).." in The Derby",root,255,0,0,true)
end
end
else
setElementData(Player,”Damager”,nil)
end
end)