Raised This Month: $ Target: $400
 0% 

Need welcome message+rank plugin


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
ZiZox
Senior Member
Join Date: Sep 2014
Location: Morocco
Old 09-01-2015 , 09:22   Re: Need welcome message+rank plugin
Reply With Quote #3

Quote:
Originally Posted by popeye10 View Post
try this
PHP Code:
#include < amxmodx >
#include < amxmisc >
#include < csx >
#include < csstats >

public plugin_init( )
{
    
register_plugin"Connect Info Hud""1.2""Spawner" )
}

public 
client_putinserverid )
{
    if( 
is_user_botid ) ) return

        
set_task10.0"go_info"id )
}

public 
go_info(id)
{
        new 
stats], body], hostname64 ], name32 ]

        new 
rank_pos get_user_statsidstatsbody )
        new 
rank_max get_statsnum( )

        
get_cvar_string"hostname"hostname63 )
        
get_user_nameidname31 )

        
set_hudmessage((0255010.020.026.03.00.11.5
        
show_hudmessageid"Welcome, %s^nWe hope you enjoy you stay here!^n^n%s^n^nYour rank is %d from %d"namehostnamerank_posrank_max )

ZiZox is offline
Send a message via Skype™ to ZiZox
 


Thread Tools
Display Modes

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 23:18.


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