08.07.2010, 19:43
Hey there people!
So I'm adding something to a DM script and I'm kind of stuck,I need some help.
Well the thing I'm trying to do is getting the player's position in the server,by the amount of kills.
This is what I have under OnPlayerDeath:
Well firstly I need to know a way to get how much players are connected,and then getting the position of the player by the amount of his kills.
Any help appreciated.
So I'm adding something to a DM script and I'm kind of stuck,I need some help.
Well the thing I'm trying to do is getting the player's position in the server,by the amount of kills.
This is what I have under OnPlayerDeath:
pawn Код:
pInfo[killerid][Kills]++;
pInfo[playerid][Deaths]++; // Doesn't matter at the moment
Any help appreciated.