Kills Counter Help !
#1

I need a Counter that can calculate the total no. of kills in some period of time (editable please). Counter should show top 10 killers.
The counter should appear before end of map at a time (defined by me)

e.g; Map Running Time = 5 min, 00 seconds
Counter Appearance Time = 00 min : 00 seconds


Similarly, please script a period for which counter will stay on screen and should leave after few seconds..

Thank you..

Map Changing System Applied = https://sampforum.blast.hk/showthread.php?tid=269336

If you want necessary info like callbacks, forwards or teams defined or other info which may help you script it.. post here.

Script or Give me an example.. It's upto you, Thank you again
Reply
#2

reply please..
Reply
#3

https://sampforum.blast.hk/showthread.php?tid=187229&page=250


Requests are in the thread posted above, here its for scripting help. If you did something and it didn't work properly and you don't know how to fix it, you should post here to we take look.


At least give a try, if you do something wrong, i'll try help you out.
Reply
#4

anyone else. plz reply
Reply
#5

Although as leonardo1434 said you you'll have to request one unless you create one your own, but i'll show you an example.

pawn Код:
new rKills;

// Once a player gets killed via OnPlayerDeath callback set it to add one or to your liking
// rKills++;

// Once the map ends on your callback use a function you'd like to display so like,

new string[64];
format(string,sizeof(string),"Highest's Kills: %i", rKills);
GameTextForAll(string,2000,1);
rKills = 0; // Setting the variable to 0.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)