Raised This Month: $ Target: $400
 0% 

Steam id poster


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
usabrad86
Junior Member
Join Date: Jun 2009
Location: Florida
Old 06-26-2009 , 05:39   Steam id poster
Reply With Quote #1

i think im almost there, just can get the userid to print

the tested output is

PHP Code:
Player()  has Left the server
has joined the server didnt even show

output I wanted is
PHP Code:
[IDPlayer(STEAM_0:0:1234has Joined the server.
[
IDPlayer(STEAM_0:0:1234has Left the server
and the code i make/used
PHP Code:
#include <amxmodx>
#include <amxmisc>

stock header[] = "[ID]"

public client_connect(id) {
    new 
userid get_user_userid(id)
    new 
name[32]
    
get_user_info(id"name"name31)
    
client_print(0,print_chat,"%s %s(%s) has Joined the server."headernameuserid);
}

public 
client_disconnect(id) {
    new 
userid get_user_userid(id)
    new 
name[32]
    
get_user_info(id"name"name31
    
client_print(0,print_chat,"%s %s(%s) has Left the server."headernameuserid);

usabrad86 is offline
Send a message via AIM to usabrad86
 



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 15:40.


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