Stats, how?
how do i get different stats of a player to a variable? (csx)
Code:
|
Look at your csstats.inc
|
I did, but i didnt understand!
|
Code:
So try this: Code:
|
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:
why? |
Because you never declared the leftleghits variable. Just put "new " before it.
|
can i get the stats out of statsX like:
like Hits: Head: 1 right arm: 2 and so on? |
| All times are GMT -4. The time now is 23:43. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.