Thread: Triggers
View Single Post
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 08-19-2012 , 21:45   Re: Triggers
Reply With Quote #113

Quote:
Originally Posted by br5dy View Post
Hello!

I'm having a problem with this plugin (I think??). Whenever a player issues a command it kills the server (shuts it down).

Here is my commandlist.txt:

Code:
!ammo_on Rf sm_fia %n 1;sm_say Unlimited ammo has been turned on for %n
!ammo_off Rf sm_fia %n 0;sm_say Unlimited ammo has been turned off for %n
!crits_on Rf sm_crits %n 1;sm_say All crits has been turned on for %n
!crits_off Rf sm_crits %n 0;sm_say All crits has been turned off for %n
!god_on Rf sm_god %n 1;sm_say God mode has been turned on for %n
!god_off Rf sm_god %n 0;sm_say God mode has been turned off for %n
!uber Rf sm_setuber %n 100;sm_say Full ubercharge was given to %n
!speed Rf sm_setspeed %n 400;sm_say Fast speed was given to %n
!commands Rf sm_say Commands: votekick, thetime, motd, rtd, !ammo_on, !ammo_off, !crits_on, !crits_off;sm_say Commands: !god_on, !god_off, !uber, !speed
When I call the sm commands manually via console no freezing occurs. Any ideas?

Thanks,
[BR5DY]
Executing commands by name is insanely dangerous, use userids.
__________________
asherkin is offline