Samp Server /Stats Problem
#2

Reset variables (arrays per-player) in OnPlayerConnect. Otherwise new registered players will have the stats of previous player.

It seems you forgot these two:
pawn Код:
// OnPlayerConnect:
CosminInfo[playerid][Kills] = 0;
CosminInfo[playerid][BestKillingSpree] = 0;
Reply


Messages In This Thread
Samp Server /Stats Problem - by Cezar98 - 30.06.2018, 16:06
Re: Samp Server /Stats Problem - by Calisthenics - 30.06.2018, 16:11
Re: Samp Server /Stats Problem - by Cezar98 - 30.06.2018, 16:14
Re: Samp Server /Stats Problem - by Calisthenics - 30.06.2018, 16:17
Re: Samp Server /Stats Problem - by Cezar98 - 30.06.2018, 16:18
Re: Samp Server /Stats Problem - by Calisthenics - 30.06.2018, 16:35
Re: Samp Server /Stats Problem - by Cezar98 - 30.06.2018, 16:48
Re: Samp Server /Stats Problem - by Calisthenics - 30.06.2018, 17:05
Re: Samp Server /Stats Problem - by Cezar98 - 30.06.2018, 17:33
Re: Samp Server /Stats Problem - by Verc - 30.06.2018, 17:39

Forum Jump:


Users browsing this thread: 1 Guest(s)