Raised This Month: $ Target: $400
 0% 

Connect Messages v2


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
grimvh2
Veteran Member
Join Date: Nov 2007
Location: Fishdot Nation
Old 06-10-2010 , 14:12   Re: Connect Messages v2
Reply With Quote #12

Quote:
Originally Posted by FlyingHorse View Post

add this after u done that:

ColorChat(0, COLOR, "^x04%s %s^x01 has disconnected from^x04 %s (rank %i)", IsUserAdmin(id) ? "Admin" : "Player", szName, szCountry, stats);
Please, this is so wrong. Please check documentations if ur not sure,
I dont know them out of my head. But ill guess that stats[0] is the kill amount, stat[1] is the death amount and so on. ( stats[3] should be headshots )

Stop posting wrong information

example for ranks :

PHP Code:
public cmdrank(id)
{
    static 
stats[8], stats2[4], body[8]
    new 
rank_pos get_user_stats(idstatsbody);
    
    
get_user_stats2(idstats2);
    new 
max_pos get_statsnum()

    
    
ColorChat(id,RED"Your rank is^x04 %i ^x03 of^x04 %i^x03 with^x04 %i^x03 Kills ,^x04 %i^x03 Headshots and^x04 %i^x03 Deaths.",rank_pos,max_pos,stats[0],stats[2],stats[1])
    return 
PLUGIN_HANDLED;

__________________
I am out of order!

Last edited by grimvh2; 06-10-2010 at 14:16.
grimvh2 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:12.


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