Raised This Month: $ Target: $400
 0% 

Statsme Problem


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Speedy'
Member
Join Date: Jan 2009
Old 03-28-2009 , 13:01   Statsme Problem
Reply With Quote #1

Well, first of all i apologise for posting this here... i really need some help. So, my problem is this: I want that the Statsme addon will only add specified sounds without HUD Messages on specified events (headshot kill, knife kil.. etc). I tried myself solve this problem, erasing the custom messages, adding comment at the sm_mode line... but it's still appearing the number 0 in HUD Message when a event occure, like an Headsht kill.
I took a screenshot to see what i mean:
[IMG]http://img16.**************/img16/7244/screenshot031.th.png[/IMG]


Here is the cod from the headshot script:
Code:
;sm_mode set d

;alias set_hs "sm_sayformat 0 100 200 -1 0.25 0 6 6 0.5 0.5 2" //Headshot

;sm_menu "Headshot announce\\y\\R{sm_mode&d?ON:OFF}" "sm_mode {sm_mode&d?remove:set} d"


// Headshot

sm_reg "SM_DeathMsg d" "sm_clexec #{k.uid} \'spk misc/sud/headshot\';sm_tell * \'{#.txths{R.11}}\'" ade "3=1" "5=0"
sm_reg "SM_DeathMsg d" "sm_clexec #{v.uid} \'spk misc/sud/headshot\';sm_tell * \'{#.txths{R.11}}\'" ade "3=1" "5=0"
I will support the consequence because' this isn't belong to amxmodx addon... but please help me someone ! Thanks in advance...
__________________
Sorry for my English

Last edited by Speedy'; 03-28-2009 at 13:03.
Speedy' is offline
Hunter-Digital
Veteran Member
Join Date: Aug 2006
Location: In the Game [ro]
Old 03-28-2009 , 14:43   Re: Statsme Problem
Reply With Quote #2

That's because {#.txths} doesn't seem to be defined anywhere... therefore, undefined variable prints 0

also, those are configs, not scripts, ; it's a command separator not a comment, // it's a comment.

add:
Code:
sm_do "{#.txths0=Headshot !}"
and keep adding and increasing the number (0) by 1 until you reach 11... ooor just set the random a bit smaller or just remove it...

Also you should have posted in the Off Topic / General Chat forum, not here...
__________________
Hunter-Digital is offline
Reply



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 08:55.


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