addEventHandler("onPlayerPickupUse",getRootElement(),
function ananza()
if ( not wasEventCancelled() ) then
setTimer ( cancelEvent(), 1000, 1 )
outputChatBox ( "#c0c0c0* Repair pickups #abcdefdisabled#c0c0c0!", getRootElement(), 255, 0, 0, true )
end)
addEventHandler("onMapStarting", getRootElement(), ananza)
is that code is right?
ps: its for race mode.