Ok, funny situation. Some maps in CS, you can "break" doors by like jumping at then, they have a sound attached to them via the map so you know your interacting in some way.
I need to find a way to negate this, "touch" so you can't affect it.
I have tried
PHP Code:
RegisterHam(Ham_Touch, "door1", "rhTouchCell")
public rhTouchCell(iEnt, iPlayer)
{
if( IsPlayer(iPlayer) && is_user_admin(iPlayer) )
{
client_print(iPlayer, print_chat, "[DEBUG] Stay away from the door man.")
}
}
doesn't work ever. :-/ I'm not sure why. I was also told RegsiterHam touch didn't work, it's been broken, so I tried register_touch and still nothing.