war = createMarker(2490.8999023438,-1668.3000488281,13.300000190735,"cylinder",50,255,0,0,0)
addEventHandler("onClientKey",root, function(key,p)
if p then
wColShape = getElementColShape(war)
if isElementWithinColShape(localPlayer,wColShape) then
if key == "f1" or key == "f2" or key == "f3" or key == "f4" or key == "f5" or key == "f6" or key == "f7" or key == "f9" or key == "f10" then
cancelEvent()
outputChatBox("لايمكنك استعمال هذا الزر في ساحة الحرب",255,0,0,true)
end
end
end )
أصلا في شرح موجود بقسم الشروحات البرمجية ..