How to trigger function on item use in TF2?
Hello!
Well i have a little problem. I want to do plugin that enables using spells in TF2, but it's not all cuz i m creating hud to it. One part of hud is name of spell with number of uses left. (ex. Fireball x5) The problem is i don't know how to lower this number. I mean i have some ideas but i don't know the event or method to trigger function on spell use in tf2 (yes this plugin adds charges to the book so i m really using this spells, not just spawning their effects) or eventually just on use of use item. (cuz the book is needed to use spells and we got 1 use slot anyway) I m really thankfull for any help! (Also sorry for my english. If anything isn't understandable just ask me i will try answer more simple.) EDIT: Sorry wrong section i thought it's SourceMod Subforum. |
| All times are GMT -4. The time now is 04:35. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.