Sumthin' like this ?
Code:
register_touch( "*", "player", "sametype_touch" );
public sametype_touch( ... ) {
static wildcard[ ] = "sometype_class";
new szClassName[ 32 ];
pev( iEntity, pev_classname, szClassName, 31 );
if( equal( szClassName, wildcard, sizeof( wildcard ) ) ) {
// [ .. ]
}
}
__________________