function playerPing (thePlayer)
if getPlayerPing ( thePlayer ) >= 900 then
outputChatBox ( "Your ping is above 900, you may not use weapons until your ping is lowered", thePlayer, 255, 0, 0 )
end
end
function wepSwitch (thePlayer)
setPlayerWeaponSlot ( thePlayer, 0 )
end
addEventHandler ( "onPlayerWeaponSwitch", root, wepSwitch )