Raised This Month: $ Target: $400
 0% 

Stats, how?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Obbin
Senior Member
Join Date: Mar 2005
Location: 192.168.1.3
Old 10-25-2005 , 11:58  
Reply With Quote #5

Ok so i got these, a test plugin!
it should print how many times you hited someones leftleg (everybody that round)

Errors:
/home/users/amxmodx/tmp3/textVyTvyi.sma(14) : error 017: undefined symbol "leftleghits"
/home/users/amxmodx/tmp3/textVyTvyi.sma(14) : warning 215: expression has no effect
/home/users/amxmodx/tmp3/textVyTvyi.sma(15) : error 017: undefined symbol "leftleghits"
/home/users/amxmodx/tmp3/textVyTvyi.sma(15 -- 17) : warning 202: number of arguments does not match definition
/home/users/amxmodx/tmp3/textVyTvyi.sma(15 -- 17) : error 001: expected token: ",", but found "}"


Code:
#include <amxmodx> #include <csx> public plugin_init(){     register_plugin("Test","test","test")     register_clcmd("Leftleghits","haha") } public haha(id){ new stats[8], bodyhits[8], weapon[32] get_user_vstats(id,0,stats,bodyhits,weapon,31) leftleghits = bodyhits[HIT_LEFTLEG]; client_print(id ,print_chat ,"%s", leftleghits) }

why?
__________________
Sig(h)!
Obbin 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 23:43.


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