addEventHandler('onClientGUIClick',root,
function ( )
if ( source == GUIEditor.button[1] ) then
triggerServerEvent('dd',localPlayer)
end
end )
--------------------------------------------------------
addEvent("dd", true)
addEventHandler("dd", root,
function ( )
for i, v in next, getElementsByType ( v ) do
blowVehicle ( Vehicle , true )
outputChatBox("تم تفجير سيارتك من قبل الكونسل", source, 255, 0, 0)
if not isObjectInACLGroup ("user." .. getAccountName (getPlayerAccount (source)), aclGetGroup ("Console")) then
blowVehicle ( Vehicle , false )
outputChatBox("لم يتم تفجير سيارتك لانك كونسل !!", source, 255, 0, 0)
end --- end function
end --- end do
end ---- end if
end )---- اند تحقق و اغلاق قوس
كذا يصير ؟؟
حطيت انه يفجر كل لاعبين ويقلهم تم تفجير من قبل كونسل و كمان اذا كان الاعب بقروب كونسل ما يفجرله سيارته لو سمحت شفلي الكود لو فيه اي خطا