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.