[CS:GO] Give Taser

Post Reply
User avatar
Andreeas
Hero Member
Hero Member
Posts: 601
Joined: Wed Jan 22, 2020 8:17 pm
Jucator SA:MP ?: Nu
Nick:: Andreeas
Jucator CS ?: Nu

[CS:GO] Give Taser

Post by Andreeas »

Description:
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 (but no equipped), 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
Download:
https://github.com/RavageCS/CS-GO-give_taser
Post Reply

Return to “Fun Stuff”