Hello, I tried to modify this plugin, levelsranks's PLAYTIME system and now people are getting random played hours, databases.sp is the file where I modified and levelsranks.sp
g_iSessionPlayedTime [iClient] = g_iPlayerInfo [iClient] .iStats [ST_PLAYTIME]; here's how i initialized variable g_iSessionPlayedTime [iClient]
when the server loads player's data
I want to add 60 seconds to playtime every 60 seconds if the player is in CS_TEAM_T or CS_TEAM_CT, and when the player disconnects to save his data, like how the rest of the plugin works
But new players are getting random played time, there is a newbie that got 151 hours played without doing anything. Any ideea?