Raised This Month: $ Target: $400
 0% 

Need welcome message+rank plugin


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
LithuanianJack
Senior Member
Join Date: Nov 2013
Location: Vilnius, Lithuania
Old 08-27-2015 , 18:04   Need welcome message+rank plugin
Reply With Quote #1

Hi guys. Can anyone make plugin? When i connect in server i see green hud message "Welcome to server, Bryan!^n Your rank is %d of %d", like statsx shell

Last edited by LithuanianJack; 08-27-2015 at 18:04.
LithuanianJack is offline
LithuanianJack
Senior Member
Join Date: Nov 2013
Location: Vilnius, Lithuania
Old 09-01-2015 , 07:37   Re: Need welcome message+rank plugin
Reply With Quote #2

sorry for posting

Last edited by LithuanianJack; 09-01-2015 at 07:37.
LithuanianJack is offline
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
LithuanianJack
Senior Member
Join Date: Nov 2013
Location: Vilnius, Lithuania
Old 09-01-2015 , 13:51   Re: Need welcome message+rank plugin
Reply With Quote #4

there are some errors.
Attached Thumbnails
Click image for larger version

Name:	err.png
Views:	181
Size:	14.6 KB
ID:	147840  
LithuanianJack is offline
indraraj striker
Veteran Member
Join Date: Mar 2014
Location: Under the water
Old 09-05-2015 , 01:03   Re: Need welcome message+rank plugin
Reply With Quote #5

PHP Code:
set_hudmessage((0255010.020.026.03.00.11.5
change to
PHP Code:
set_hudmessage(0255010.020.026.03.00.11.5
then compile and see
indraraj striker is offline
Reply



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