Raised This Month: $ Target: $400
 0% 

Welcome message


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
popeye10
Senior Member
Join Date: May 2014
Location: Navi Mumbai (India)
Old 12-15-2014 , 06:15   Re: Welcome message
Reply With Quote #4

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 )

__________________

Last edited by popeye10; 12-15-2014 at 06:27.
popeye10 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 23:18.


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