Raised This Month: $ Target: $400
 0% 

About register_native


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
griefhy
Member
Join Date: Jul 2006
Old 12-21-2008 , 08:08   About register_native
Reply With Quote #1

plugin A.sma
PHP Code:
public plugin_natives()
{
    
register_native("user_name","native_user_name",1)
}

public 
native_user_name(id)
{
    new 
name[32];
    
get_user_name(id,name,31);
    return 
name;

plugin B.sma
PHP Code:
public client_putinserver(id)
{
    ?????????
user_name(id)???????????????
    
client_print(id,??????????)

it's fail, is it impossible? Where is it wrong? Please give us your comments. thanks.
griefhy is offline
 


Thread Tools
Display Modes

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