I have a plugin that I need to change.
To be short I'll ask just a little ideea on how to make the vox sounds of half-life to play something like health of the killer and armor of the killer like... :
50 HP 100 AP
spk "^vox/%d health and %i armor^", khealth, karmor <- Just an example
I made to play the vox like... health and armor, but the hardest part i don't now is how to make the plugin to "read" the health and play it as a vox sound. This kind of vox mesage it is used in statsme mod in kill.cfg file and it's looks like this:
sm_reg "SM_DeathMsg i" "sm_clexec #{v.uid} \'spk
\\'vox/{W.{k.health}} health and {W.{k.armor}} armor\\'\'" ade
Hope that someone understand what I'm trying to say/ask and will help me !
Thanks !
God@Dorin