Results 1 to 1 of 1
  1. #1

    Proconrulz: K/D Ration announcer

    Hey everyone,

    im currently trying to create a On RoundOver K/D Ratio announcer

    this is what i got so far

    Code:
    ############################
    #
    # K/D Ratio announcer v0.1 by DarkZerO_AT
    #
    ############################
    
    On Kill; Incr %player_kdkills%p%%;
    On Spawn; Not PlayerFirst; Incr %player_kddeaths%p%%; Set %player_kd%p%% %player_kdkills%p%% /%player_kddeaths%p%%;
    On Kill; If %player_kd%p%% > %server_kd%; Set %server_kd% %player_kd%p%%; Set %server_kdplayer% %p%;
    
    On RoundOver;
        Say Best K/D: %server_kd% - %server_kdplayer%
    its running on our server atm and should work unless it has an error i didnt see :P
    but will report back to tell if its working as intended

    meanwhile you guys can take a look at it and tell me if you see any errors in the rule or if you got any feedback to make it more effective or whatever

    cya

    EDIT: omg a pretty stupid error i made :P
    it only overwrites the KD and Player if its higher then the first time ... and as usually, KD's are higher on the start of the round so it wont get overwritten any more ... working on a way to get that resolved, would be happy if someone can help out with that :P
    Last edited by DarkZerO_AT; 30-05-2015 at 10:38.


 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •