Times on Server
#1

I'm working on an account system with MySQL (Not that it matters). But, how to I set it so that every time someone joins it adds to their times on server. Here's the string that defines times on server:
Code:
AccountInfo[playerid][TOS]
I tried under onplayerconnect to just +1 but I guess that's not right.
Reply
#2

pawn Code:
AccountInfo[playerid][TOS]++;
AccountInfo[playerid][TOS] += 1;
AccountInfo[playerid][TOS] = (AccountInfo[playerid][TOS] + 1);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)