Raised This Month: $ Target: $400
 0% 

client_putinserver


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
mwebmedia
New Member
Join Date: Jul 2011
Old 07-20-2011 , 23:57   client_putinserver
Reply With Quote #1

hey guys,
have an small question about an small plugin. Dont blame me, im a new coder

i only want to show, steamid and name

Code:
#include <amxmodx>
#include <amxmisc>

#define PLUGIN    "connect"
#define AUTHOR    "mwebmedia"
#define VERSION    "1.0"

public plugin_init() {
    register_plugin(PLUGIN, VERSION, AUTHOR)
}

public client_putinserver(id) {
    new name[18]
    new userid[18]
        get_user_authid(id, userid, 17)
    get_user_name(id, name, 17)
    client_print(0, print_chat, "%s %d", userid, name);
    return PLUGIN_CONTINUE    
}
but it only shows the steamid and not the name, why?

Last edited by mwebmedia; 07-21-2011 at 00:23.
mwebmedia 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 01:09.


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