Raised This Month: $ Target: $400
 0% 

I need help with this i think im way off...


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
smallwimpyboy
Senior Member
Join Date: Aug 2005
Location: United States
Old 09-07-2005 , 15:36   I need help with this i think im way off...
Reply With Quote #1

Code:
#include <amxmodx> #include <amxmisc> public plugin_init() { register_plugin("amx_killc","1","smallwimpyboy") register_concmd("amx_killc","do_killc",ADMIN_BAN,"By: Smallwimpyboy") set_task (0.1,"do_killc,4000,0,b") } public do_killc(id) { new arg[32] read_argv(2,arg,31) new player = cmd_target(id,arg,1) new iStats[8] { client_print(id,print_center,"You Have %d Kills",iStats[0]") return PLUGIN_CONTINUE }

i need help with this its suposed to print_center and tell you how many
kills you have
smallwimpyboy is offline
Send a message via AIM to smallwimpyboy Send a message via MSN to smallwimpyboy
Brad
AMX Mod X Team Member
Join Date: Jun 2004
Old 09-07-2005 , 16:11  
Reply With Quote #2

Before anyone replies to your double-posting in the Suggestions/Requests forum, go there and delete it by click the "x" next to the "edit" button.
Brad is offline
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 09-07-2005 , 17:00  
Reply With Quote #3

Code:
#include <amxmodx> #include <amxmisc> #include <csstats> public plugin_init() {    register_plugin("amx_killc","1","smallwimpyboy") } public client_connect(id) {    set_task(1.0,"show_kills",id) } public client_disconnect(id) {    remove_task(id) } public show_kills(id) {    if(!is_user_connected(id)) {       return    }    new iStats[8], iBodyHits[8]    get_user_stats(id, iStats, iBodyHits)    client_print(id,print_center,"Kills: %i",iStats[0]);    set_task(1.0,"show_kills",id) }
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX is offline
Reply


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 14:32.


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