Lol, I know I've been asking for help a lot today, but it's because I'm new to coding and I really want to learn!
Well, now I'm at a point in my plugin where I need to make the following happen for players:
- Strip All Weapons On New Round (except knife)
I also need to know how to give:
- Para/Elite to Terrorists On Round Start
- Only Knife for CT's
Hmm.. Oh yes. I need to know how to make a cvar be able to control whether or not the plugin is on/off. And if the cvar is set to 1, the plugin activates. But if it's set to 0, ofcourse,nothing happens.
And also if it's set to 1, buying ANYTHING AT ALL is restricted for any player in the game.
^^(I know I can search and find how to make the plugin have a cvar to turn on/off, but I needed it more advanced (restrict buying) so if you could just tell me I'd appreciate it greatly!)
And also. I don't want the CT's to be able to pick up the T's guns if they kill a terrorist. So I am very needy for something that makes CT's drop guns as soon as they pick them up. Like the awp restricter plugin
Anything you could help with (that i said above) will be so much appreciated!!
This is too much I know, but I assure you, you'll be recieving lots of credit and karma
EDIT: Aw man I almost forgot! I'm making the T's glow red with
Code:
set_user_rendering(id,kRenderFxGlowShell,255,0,0,kRenderNormal,20)
For the CT's I dont want them to glow. I want them 80% invisible. I know it's possible by doing something with that code above, but I'm not sure how
Thx