السلام عليكم
هذا الكود
local theColRectangle = createColRectangle ( x, y, w, h )
addEventHandler ( "onColShapeHit", theColRectangle,
function ( player )
if ( getElementType ( player ) == "player" ) then
local team = getPlayerTeam ( player )
if ( team ) then
if ( getTeamName ( team ) ~= "g" ) then
killPed ( player )
outputChatBox ( "أنت لست ضمن العصابة", player, 0, 255, 255 )
end
else
killPed ( player )
outputChatBox ( "أنت لست ضمن العصابة", player, 0, 255, 255 )
end
end
end
)
أبي
x, y, z,
وهوه هسه بس
x, y,
مع جزيل الشكر