well this as constructor works fine thanks
Code:
public int Native_ZMPlayer_Constructor(Handle plugin, int numParams)
{
int client = view_as<int>(GetNativeCell(1));
if ( IsValidClient( client ) ) {
return view_as< int >( GetClientUserId( client ) );
}
return view_as< int >(-1);
}
__________________