Raised This Month: $ Target: $400
 0% 

i need help with public~


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
lucky109
Senior Member
Join Date: Jan 2005
Old 05-20-2007 , 23:52   i need help with public~
Reply With Quote #1

Code:
public go()
{
going(test);
}

public going(test)
{
new pname[32];
get_user_name(target,pname,31);
client_print(0, print_chat, "%s", pname)
}
i have save a value to "test" (the value is player index)
i want show pname to admin only....how i can do this?

i have to try...than error undefined symbol "id"
Code:
public going(test)
{
new pname[32];
get_user_name(target,pname,31);
if (get_user_flags(id)&ADMIN_LEVEL_H)
{ 
client_print(id, print_chat, "%s", pname)
}
}
lucky109 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 10:40.


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