اخي الكود حقي شغال ميا ميا
addEventHandler ("onClientPlayerDamage", root,
function (attacker)
if ( attacker and getElementType(attacker) == "player" ) then
if ( getPlayerTeam(source) ~= getTeamFromName("Police") and getPlayerTeam(attacker) == getTeamFromName("Police") ) then
local WastedLevel = getPlayerWantedLevel ( source )
( WastedLevel == 0 ) then
cancelEvent(true)
outputChatBox ("You Can't kill that Player , because he dosen't have 0 Wanted Level" , attacker , 255 , 255 , 255 )
end
end
end
end)
ذا الكود اذا ما عليك نجوم الشرطي ما يقدر يقتلك وش ابي انا اوكي وش انا ابي اسوي ؟ You Can't kill that Player , because he dosen't have 0 Wanted Level" ما يظهر للكل يظهر بس للشرطي فهمتوني ؟