Highest Kill Help
#1

Hi there fellas

Can anyone tell me how to make a highest kill system per round with variables working with per second repeatable time OnGameModeInit shows in a textdraw with kills and killer name(if most kills and someone's kills are same then textdraw shows draw instead of name and kills) and when round finish a msg goes to everyone that This(example) player wins the round with that kills like.

Thank You, Please help.
+1rep for who help me.
Reply
#2

anyone help pls
Reply
#3

EDIT fixed
PHP код:

something
(...)
{
    static 
playerbest 0//set best to 0 at first
    
for(new 0GetPlayerPoolSize(); <= ji++) //loop
    
{
        if(!
IsPlayerConnected(i) || IsPlayerNPC(i) || pKills[i] <= best//skip if player not connected, npc or his kill score is not higher than the best score
        
best pKills[playerid]; //if is higher set best to playerid
        
player i;
    }
    new 
name[24], str[90];
    
GetPlayerName(playernamesizeof(name));
    
format(strsizeof(str), "%s {FF0000}is the top killer {FFFFFF}({FF0000}%d kills{FFFFFF})"namebest);
    
SendClientMessageToAll(-1str);

Reply
#4

Can you take notice...

24 HOUR BUMPS ONLY

I subscribed to this when you posted it, yet you bumped it within an hour because you're so 'dire in need' of code to help you even get anything.

Re-read those forum rules, and make sure you understand them.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)