Raised This Month: $ Target: $400
 0% 

Help


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
kramesa
Veteran Member
Join Date: Feb 2011
Location: Brazil
Old 11-25-2011 , 11:30   Help
Reply With Quote #1

Hi!

How i get this the steamID and the name of client_disconnect for serverprint?

Look my plugin fails

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

public plugin_init() 

    
register_plugin("Client Test""1.0""krm"


public 
client_disconnect(id)
{
    new 
SteamID[32], Name[32]
    
    
get_user_authid(idSteamID31)
    
get_user_name(idName31)
    
    
set_task(5.0"ServerPrint"id)
}

public 
ServerPrint(SteamID[], Name[])
{
    
server_print("SteamID: %s"SteamID)
    
server_print("Name: %s"Name)

__________________

Last edited by kramesa; 11-25-2011 at 11:30.
kramesa 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 08:26.


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