Use the new constants in various place.
This commit is contained in:
@@ -35,8 +35,8 @@
|
||||
#include <amxmodx>
|
||||
#include <tfcx>
|
||||
|
||||
new g_pingSum[33]
|
||||
new g_pingCount[33]
|
||||
new g_pingSum[MAX_PLAYERS]
|
||||
new g_pingCount[MAX_PLAYERS]
|
||||
|
||||
public plugin_init()
|
||||
register_plugin("TFC Stats Logging",AMXX_VERSION_STR,"AMXX Dev Team")
|
||||
@@ -44,7 +44,7 @@ public plugin_init()
|
||||
public client_disconnect(id) {
|
||||
if ( is_user_bot( id ) ) return PLUGIN_CONTINUE
|
||||
remove_task( id )
|
||||
new szTeam[16],szName[32],szAuthid[32], iStats[8], iHits[8], szWeapon[24]
|
||||
new szTeam[16],szName[MAX_NAME_LENGTH],szAuthid[32], iStats[8], iHits[8], szWeapon[24]
|
||||
new iUserid = get_user_userid( id )
|
||||
get_user_team(id, szTeam, 15 )
|
||||
get_user_name(id, szName ,31 )
|
||||
|
Reference in New Issue
Block a user