Need help with my song script
Hey everyone, this is my first script, and my goal was ot have a song play everytime the round starts. So far, it works, but some people don't want it to play every round, so I was wondering how I could go about doing this without making 32 cvars, one for each player.
This is the script as of right now: Quote:
- Demonic |
Variables! Arrays in this case.
Code:
|
Thanks Avalanche, that works great, but for some reason, the song_on resets every other round or so.
For example, the first round i type /song so next round i dont hear it, but the round AFTER that it plays again. I can't seem to find what does that tho. Perhaps its the client_disconnect method, but iono, i can't find nething that sets it to 1... *EDIT: Nvm, it was an error on ym part, it works now. |
| All times are GMT -4. The time now is 09:54. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.