i added this check and the portals have stopped to work. That means touching them won't do anything anymore.
PHP Code:
public pfn_touch(ptr,ptd) {
if (ptr > 0 && ptd > 0 && pev_valid(ptr) && pev_valid(ptd) && is_user_alive(ptr) ) {
__________________