Posts: 695
Threads: 141
Joined: Jan 2012
Reputation:
0
How can you see how many kills the player has done on the server? This will count all the kills he has done since he started playing on the server.
Can someone create a stock and show the code or tell me how to? I really need this for my war server.
Posts: 695
Threads: 141
Joined: Jan 2012
Reputation:
0
I have never created an array, can you show me how?
Posts: 6,236
Threads: 310
Joined: Jan 2011
Reputation:
0
new pKills[MAX_PLAYERS];
Outside all callbacks/functions, which will make it 'global'.
Posts: 695
Threads: 141
Joined: Jan 2012
Reputation:
0
I mean that isn't that there?
Where says "Function here", thats where you put what pKills means.
And i also need to know how to save it when they disconnect.
EDIT: And also i am using this for rank system depending on how much kills they have total.
Posts: 73
Threads: 12
Joined: Oct 2011
Reputation:
0
If you want it to save when player quit then you gotta have register system...
Posts: 695
Threads: 141
Joined: Jan 2012
Reputation:
0
I use LuxAdmin's register system.