Quote:
Originally Posted by Jon
PHP Code:
public plugin_init( )
{
register_touch( "func_door_rotating", "player", "FwdTouchDoor" );
register_touch( "func_door", "player", "FwdTouchDoor" );
}
public FwdTouchDoor( iDoorEnt, iClient )
{
return PLUGIN_HANDLED;
}
|
I'd prefer Ham_Use, just because other ents can call the entity (buttons, triggers etc)
__________________