Plugin: Amx Piss
Version: 2.2
Author: KRoTaL (Based on TakeADookie by PaintLancer)


1.0  Release
1.1  Better effect
1.2  Bug fix
1.3  New effect + piss puddle
1.4a New effects, only for cs/cz/dod
1.4b New effects, only for other mods than cs/cz/dod
1.5  #define NO_CS_CZ added
1.6  Bug fix (DoD)
1.7  Bug fix
1.8  Some checks added
1.9  #define NO_CS_CZ changed into #define NO_CS_CZ
2.0  New cvar : amx_piss_effect
2.1  English & French language support (amx 0.9.9 only)
2.2  Removed knife model when pissing and added admin immunity

Commands:

  To piss on a dead body you have to bind a key to: piss
  Open your console and write: bind "key" "piss"
  ex: bind "x" "piss"
  Then stand still above a dead player, press your key and you'll piss on them !
  You can control the direction of the stream with your mouse.
  You are not able to move or to shoot for 10 seconds when you piss, so beware.
  The puddle of piss will appear where you are aiming at 2 seconds after you start pissing,
  so try to aim at the dead body instead of the sky or a wall ;)

  Players can say "/piss" in the chat to get some help.

Cvars:

  amx_maxpees 6   - Maximum number of times a player is allowed to piss per round.

  amx_piss_admin 0  - 0 : All the players are allowed to piss
                      1 : Only admins with ADMIN_LEVEL_A flag are allowed to piss

  amx_piss_effect 0 - 0 : yellow bloodsprite
                      1 : yellow laserbeam

Setup:

  You need to put these files on your server:

  sound/piss/pissing.wav
  models/piss/piss_puddle1.mdl
  models/piss/piss_puddle2.mdl
  models/piss/piss_puddle3.mdl
  models/piss/piss_puddle4.mdl
  models/piss/piss_puddle5.mdl
  models/piss/piss.mdl
  addons/amx/lang/piss.txt

  You need to enable Fun and Vexd Utilities Modules for cs/cs-cz.
  You need to enable Vexd Utilities Module for the other mods.


  Use amx_piss_cs_cz.amx if you use CS or CS-CZ (player can't move).
  Use amx_piss.amx if you use another mod (dod, tfc, ...), or if you play CS/CS-CZ
  and you want to be able to piss without being stuck.


Credits:

  Rastin for his trousers fly sounds
  SLayer KL for his piss puddle models



If you want to compile yourself,
open amx_piss.sma file (addons/amx/examples/source) and modify this line according to the mod you use :

// UNCOMMENT IF YOU USE ANOTHER MOD THAN CS and CS-CZ,
// OR IF YOU USE CS/CS-CZ AND YOU WANT TO BE ABLE TO PISS ANYWHERE ON THE MAP (NOT JUST NEAR DEAD PLAYERS)
//#define NO_CS_CZ

"Uncomment" means deleting the "//"

Then compile the plugin.
