FireStorm's fix

This commit is contained in:
David Anderson 2005-04-05 14:48:06 +00:00
parent acb2b27852
commit 15bd719cf5

View File

@ -15,7 +15,7 @@ public plugin_init()
register_plugin("Stats Logging",AMXX_VERSION_STR,"AMXX Dev Team")
public client_disconnect(id) {
if ( is_user_bot( id ) || !isDSMActive() ) return PLUGIN_CONTINUE
if ( is_user_bot( id ) || !is_user_connected(id) || !isDSMActive() ) return PLUGIN_CONTINUE
remove_task( id )
new szTeam[16],szName[32],szAuthid[32], iStats[9], iHits[8], szWeapon[16]
new iUserid = get_user_userid( id )