Quote:
Originally Posted by DaSilva
I want to slap & snore so i have chosen mode 5 but it only slaps, not snores!
|
Check out the following section in the SMA:
Code:
/*--------------------------------------------------------
COMPILER OPTIONS
--------------------------------------------------------*/
//--------------------------------------------------------
// The 'money reduction' punishment needs the CSTRIKE mod
// to work. Comment if you are not running a CSTRIKE mod.
#define CSTRIKE
//--------------------------------------------------------
// The 'snore' sound file will be precached on the
// client's computer if this punishment is allowed.
// Comment if you do not wish to use the snore punishment
// and you don't want the file to be downloaded to the
// client's computer.
#define SNORE
//--------------------------------------------------------
// Set the flag that indicates if a player has immunity
// when standing completely still and immunity is allowed.
#define IMMUNITY ADMIN_IMMUNITY
//--------------------------------------------------------
Did you comment out
#define SNORE ? If so, that'd be the reason you don't hear anything.
Quote:
Originally Posted by DaSilva
and how can i create a cfg with variables listed on the first page which is always executed at start?
|
I don't recommend changing them in the SMA and recompiling. I personally put CVARs for most plugins at the end of my
.\configs\amxx.cfg file. If you want to place them in their own file, and have it executed at the start of each map, you can place them in a text file, save the file in your mod (i.e. cstrike) directory, and then in
amxx.cfg, add the following line: