Update player statistics with database stats
#1

Hello all, I'm trying to make a function to update player statistics in-game by getting statistics from a mysql database. The problem is that if the player's in-game admin level is 0, then it will go through the if statement. If it is any number other than 0, then it won't go through the if statement.

The code below supposed to check if the player's admin level is the same as the one inside the database, if it isn't then it would correct the player's admin level in-game to match the database's admin level.

Here's my code.
pawn Код:
// Code removed.
I would appreciate all the help I can get.

Thanks.
-DBan
Reply


Messages In This Thread
Update player statistics with database stats - by DBan - 10.11.2012, 02:46
Re: Update player statistics with database stats - by ReneG - 10.11.2012, 03:08
Re: Update player statistics with database stats - by DBan - 10.11.2012, 03:15
Re: Update player statistics with database stats - by SuperViper - 10.11.2012, 03:16
Re: Update player statistics with database stats - by DBan - 10.11.2012, 03:20
Re: Update player statistics with database stats - by Alinaqi115 - 06.04.2017, 13:05

Forum Jump:


Users browsing this thread: 2 Guest(s)