Raised This Month: $ Target: $400
 0% 

Kill Counter


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Supremache
Veteran Member
Join Date: Sep 2019
Location: Egypt
Old 02-15-2022 , 13:37   Re: Kill Counter
Reply With Quote #3

Take example:
PHP Code:
new g_iPlayerKillsMAX_PLAYERS ]

register_event"DeathMsg""OnPlayerKilled""a" )

public 
OnPlayerKilled( )
{
    new 
iAttacker read_data), iVictim read_data)
        
    if( 
is_user_connectediAttacker ) && iAttacker != iVictim )
    {
        
g_iPlayerKillsiAttacker ]++;
        
client_print_coloriAttackerprint_team_default"Your Kills: %i"g_iPlayerKillsiAttacker ] )
    }

__________________
Youtube.com/Supremache

Bank System [Nvault - SQL Support]
VIP System
  • If you think it's that simple, then do it yourself.

Last edited by Supremache; 02-15-2022 at 13:41.
Supremache is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:35.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode