Quote:
Originally Posted by OvidiuS
Code:
#include < amxmodx > public client_putinserver( id ) { new iFlags = admins_lookup( id, AdminProp_Flags ); if( iFlags & FLAG_AUTHID ) { &nb sp;// do something } else if( iFlags & FLAG_IP ) { &nb sp;// do something else } // etc.. }
Check admin.sma for more complex example...
|
native admins_lookup(
num, AdminProp

roperty, Buffer[]="", BufferSize=0);
its not player id,amxx return error