Death / Kills counters in player list
#1

Hello everyone,

i can't find using the search function a little code to show the players deaths and kills in the player list (alt button) or another way to show the counters..

Can someone help me please?

Regards
Reply
#2

You can either show kill or death by using SetPlayerScore
Reply
#3

But is only one counter, i need the death counter and the kill counter..
Reply
#4

You must save those values and display them accordingly.
Reply
#5

Quote:
Originally Posted by SickAttack
Посмотреть сообщение
You must save those values and display them accordingly.
i save the values but i don't know how to show them...
as i said in the first post i need a way to show the two values in the player list or in a table in some way..
Reply
#6

Quote:
Originally Posted by AaronJ
Посмотреть сообщение
i save the values but i don't know how to show them...
as i said in the first post i need a way to show the two values in the player list or in a table in some way..
How do you save those values?
Reply
#7

Quote:
Originally Posted by SickAttack
Посмотреть сообщение
How do you save those values?
i have 2 vars, "Kill" and "Death"

PHP код:
public OnPlayerDeath(playeridkilleridreason)
{
    
SendDeathMessage(killeridplayeridreason);
    [...]
    
CharacterData[killerid][Kill] ++;
    
CharacterData[playerid][Death] ++;
    [...]
    return 
1;

and i need to show something like a table with the kills and deaths counter of all the players.
I would like to know if is possible in the player list or if there is a way to do something nice to see..
I know that i can create something like a windows that is always at the bottom-right of the screen but it can't contain the full list of the players (15/20 per match).
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)