Raised This Month: $ Target: $400
 0% 

Help with RATE checker


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Yuri
Senior Member
Join Date: May 2005
Location: Yuri's Cyber Cafe
Old 05-08-2005 , 17:43  
Reply With Quote #5

Why not

Code:
#include <amxmodx> #include <amxmisc> new PLUGIN[]="Rate_Checker" new AUTHOR[]="FannyMagnet" new VERSION[]="1.00" public plugin_init() {      register_plugin("PLUGIN,"VERSION,"AUTHOR")      register_concmd("amx_rc", "cmd_rc", ADMIN_SLAY, "<target> ") } public cmd_rc(id)    {     new user[32], rate[32], uid         read_argv(1,user,32) // Read first part after command     uid = find_player("bh",user) // Find user     get_user_info(uid, "rate", rate, 31) // Get the rate of the user from UID         client_print (id, print_chat, "Thier rate is %s",rate) // Print the result to the admin         return PLUGIN_HANDLED     } new uid = cmd_target(id,user,0) if(!uid) {     return PLUGIN_HANDLED }
Yuri 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 16:38.


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