Skip to content

Latest commit

 

History

History
29 lines (26 loc) · 1.93 KB

README.md

File metadata and controls

29 lines (26 loc) · 1.93 KB

[CSGO] give_taser

Gives an admin or any user a taser and equips the taser when they type !taser or /taser in chat, or sm_taser in console.
If player already has a taser, using sm_taser will equip it.
If player has a taser equiped when sm_taser is used the taser will be removed and switch to last weapon used.
When a taser is removed money and variables are reset.
This is useful if you dont want to spawn with a taser, since taser is in the same slot as knife and csgo always takes the taser out first.
Command can be public, any admin, or a specific admin flag required.

Works best when bound to a key ex: bind t sm_taser


Cvars:

  • sm_gt_enabled: Plugin enabled or disabled (def: 1)
  • sm_gt_public_enabled: Whether non admins can receive a taser (def: 1)
  • sm_gt_max_admin_round: Amount of tasers admins can receive each round (def: 1)
  • sm_gt_max_admin_life: Amount of tasers admins can receive each life (def: -1)
  • sm_gt_max_admin_map: Amount of tasers admins can receive each map (def: -1)
  • sm_gt_admin_cooldown: Number of seconds to wait between giving admins a taser, 0 to disable, time starts when fired (def: 120)
  • sm_gt_max_pubic_round: Amount of tasers non admins can receive each round (def: 1)
  • sm_gt_max_pubic_life: Amount of tasers non admins can receive each life (def: -1)
  • sm_gt_max_pubic_map: Amount of tasers non admins can receive each map (def: 1)
  • sm_gt_pubic_cooldown: Number of seconds to wait between giving non admins a taser, 0 to disable, time starts when fired (def: 240)
  • sm_gt_track_buys: Should plugin count tasers purchased from buy menu (def: 1)
  • sm_gt_track_money: Require player to pay $200 to receive a taser (def: 0)
  • sm_gt_admin_flag: Admin flag required to receive a taser none for no flag needed any allows any admin flag (def: any) Valid flags: any,a,b,c,d,e,f,g,h,i,j,k,m,n,z,o,p

Allied Modders Thread