Raised This Month: $ Target: $400
 0% 

Hostname


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Sylwester
Veteran Member
Join Date: Oct 2006
Location: Poland
Old 05-19-2010 , 16:18   Re: Hostname
Reply With Quote #2

PHP Code:
new pcvar_hostname
public plugin_init()
{
    
pcvar_hostname get_cvar_pointer("hostname")
}

public 
welcomemsg()
{
    static 
hostname[64]
    
get_pcvar_string(pcvar_hostnamehostname63)

    new 
name[33]
    
get_user_name(idname32)
    
ColorChat(idRED"%s %s, Welcome to %s"prefixnamehostname)

__________________
Impossible is Nothing
Sylwester 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 03:38.


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