I need help on SDK
By SourceSDKPerson 11 months agoI dont know if this is possible but if someone knows how please tell. Well is there a way to go into a area and make it so you cant turn on your flashlight? Thanks
I need help on SDK
By SourceSDKPerson 11 months agoI dont know if this is possible but if someone knows how please tell. Well is there a way to go into a area and make it so you cant turn on your flashlight? Thanks
That would be based on the game server itself, dude. The Source SDK has nothing to do with that.
What you can do it using a console command in Hammer and do a quick cheat eneable then use impulse 100 and disable the cheats. And use a point server command.
Posted by Poi$on
What you can do it using a console command in Hammer and do a quick cheat eneable then use impulse 100 and disable the cheats. And use a point server command.
It's called mp_flashlight 0/1.
Posted by Daan
It's called mp_flashlight 0/1.
Thats a server.cfg command, not sure if that will work but you can give it a try.
Posted by Poi$on
Posted by Daan
It's called mp_flashlight 0/1.
Thats a server.cfg command, not sure if that will work but you can give it a try.
You can use a point_servercommand to enable/disable/exec commands.
Posted by Poi$on
Posted by Daan
It's called mp_flashlight 0/1.
Thats a server.cfg command, not sure if that will work but you can give it a try.
It won't, it's a server command like you said, it'll disable it for everyone.
Posted by Poi$on
What you can do it using a console command in Hammer and do a quick cheat eneable then use impulse 100 and disable the cheats. And use a point server command.
I'm not sure the cheats thing is necessary
Posted by Devieus
I'm not sure the cheats thing is necessary
Yea your right, it's a not cheat command. https://developer.valvesoftware.com/wiki/Impulse
I do know Nightmare House 2 has something similar in it, but it's all dependent on either the server or how the game's coded.
Create a point_servercommand, name it whatever you want exp.: Commands.
Now create a trigger_once and go to the ouputs: On StartTouch, Commands, Command, mp_flashlight 0.
The flashlight is now for everybody disabled.
Posted by KeNnY1337
Create a point_servercommand, name it whatever you want exp.: Commands.
Now create a trigger_once and go to the ouputs: On StartTouch, Commands, Command, mp_flashlight 0.
The flashlight is now for everybody disabled.
We've been over this, the problem is that it's probably not supposed to happen for everyone.
Team Fortress 2
Team Fortress 2
Counter-Strike: Online
Counter-Strike: Online