Raised This Month: $ Target: $400
 0% 

About register_native


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
hleV
Veteran Member
Join Date: Mar 2007
Location: Lithuania
Old 12-21-2008 , 09:46   Re: About register_native
Reply With Quote #6

Maybe this.
Code:
public plugin_init()         register_native("user_name", "native_user_name");   public native_user_name() {         new szName[32];         get_user_name(get_param(1), szName, 31);           return szName; // Not sure about this }   public client_putinserver(id)         client_print(0, print_chat, "%s has joined the server", user_name(id));
__________________
hleV 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 09:12.


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