Raised This Month: $51 Target: $400
 12% 

[CS:S] Weapon Giver on Command


Post New Thread Reply   
 
Thread Tools Display Modes
Author
SynysteR
Junior Member
Join Date: Sep 2012
Plugin ID:
3253
Plugin Version:
1.0
Plugin Category:
General Purpose
Plugin Game:
Counter-Strike: Source
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    you can get any weapon you want by command (for example: sm_ak47)
    Old 09-21-2012 , 13:06   [CS:S] Weapon Giver on Command
    Reply With Quote #1

    description:
    you can get any weapon you want by command (for example: sm_ak47 or sm_deagle).

    weapons list (the commands)
    sm_awp
    sm_m4a1
    sm_ak47
    sm_deagle
    sm_aug
    sm_elite
    sm_famas
    sm_fiveseven
    sm_g3sg1
    sm_galil
    sm_glock
    sm_m249
    sm_m3
    sm_mac10
    sm_mp5
    sm_p228
    sm_p90
    sm_scout
    sm_sg550
    sm_sg552
    sm_tmp
    sm_ump45
    sm_usp
    sm_xm1014

    Added:
    weapon list: "sm_weaponlist"

    Fixed warnings, the plugins compiles great and works good
    Attached Files
    File Type: sp Get Plugin or Get Source (CommandWeaponGiver.sp - 3975 views - 12.7 KB)

    Last edited by SynysteR; 03-13-2013 at 16:28.
    SynysteR is offline
    emza
    Member
    Join Date: Sep 2010
    Location: Paracin/Srbija
    Old 10-14-2012 , 07:01   Re: [CS:S] Weapon Giver on Command
    Reply With Quote #2

    hi SynysteR, its posible to tipe in chat !ak !m4 !deagle to buy weapon
    or its only for console commands
    emza is offline
    Franc1sco
    Veteran Member
    Join Date: Oct 2010
    Location: Spain (Madrid)
    Old 10-14-2012 , 17:02   Re: [CS:S] Weapon Giver on Command
    Reply With Quote #3

    Quote:
    Originally Posted by emza View Post
    hi SynysteR, its posible to tipe in chat !ak !m4 !deagle to buy weapon
    or its only for console commands
    Looking at the code... yes its possible
    __________________
    Veteran Coder -> Activity channel
    Coding on CS2 and taking paid and free jobs.

    Contact: Steam, Telegram or discord ( franug ).

    You like my work? +Rep in my steam profile comments or donate.

    Franc1sco is offline
    Send a message via MSN to Franc1sco
    RedSword
    SourceMod Plugin Approver
    Join Date: Mar 2006
    Location: Quebec, Canada
    Old 10-14-2012 , 17:53   Re: [CS:S] Weapon Giver on Command
    Reply With Quote #4

    You do not need to add a .smx to your post, since you do not use any 3rd party extension (meaning "Get plugin" is functional). It only seems more suspect the way you do it.
    __________________
    My plugins :
    Red Maze
    Afk Bomb
    RAWR (per player/rounds Awp Restrict.)
    Kill Assist
    Be Medic

    You can also Donate if you appreciate my work
    RedSword is offline
    hardy4u
    Senior Member
    Join Date: Oct 2012
    Location: Sydney,Australia
    Old 01-13-2013 , 05:46   Re: [CS:S] Weapon Giver on Command
    Reply With Quote #5

    thax man but can u pls make cmds for grenades ,flash and smoke?
    __________________


    I fix/manage Servers of CS:S,CS:GO | Steam ID :- t1rath
    Donations (CS:GO items) keeps me motivated.
    hardy4u is offline
    ColdZero
    Junior Member
    Join Date: Oct 2012
    Old 05-26-2013 , 11:39   Re: [CS:S] Weapon Giver on Command
    Reply With Quote #6

    Some feature requests:

    - Please make a cvar to remove all ammo out of the weapons
    - make so we can disable some weapons via cvar
    - add the knife as command
    __________________
    ColdZero is offline
    sngfsndfsjdvf
    Junior Member
    Join Date: Jun 2013
    Old 08-15-2013 , 08:43   Re: [CS:S] Weapon Giver on Command
    Reply With Quote #7

    is there a way to make this admin only?
    sngfsndfsjdvf is offline
    vodka00
    Veteran Member
    Join Date: Jun 2012
    Location: Los Angeles
    Old 08-15-2013 , 11:51   Re: [CS:S] Weapon Giver on Command
    Reply With Quote #8

    Quote:
    Originally Posted by sngfsndfsjdvf View Post
    is there a way to make this admin only?
    Open admin_overrides.cfg and add those commands.
    PHP Code:
    "sm_xm1014" "b" 
    __________________
    cw main:

    cw speedruns:
    vodka00 is offline
    alencore
    Senior Member
    Join Date: Oct 2011
    Old 12-05-2013 , 08:05   Re: [CS:S] Weapon Giver on Command
    Reply With Quote #9

    not working for me....

    L 12/05/2013 - 20:57:17: [SM] Native "IsPlayerAlive" reported: Invalid client index 0
    L 12/05/2013 - 20:57:17: [SM] Displaying call stack trace for plugin "CommandWeaponGiver.smx":
    L 12/05/2013 - 20:57:17: [SM] [0] Line 93, /home/groups/alliedmodders/forums/files/1/9/9/1/2/6/109754.attach::Command_Ak47()
    alencore is offline
    Xmanster
    Member
    Join Date: Mar 2014
    Old 07-21-2014 , 14:02   Re: [CS:S] Weapon Giver on Command
    Reply With Quote #10

    can we add M4A1-S ??
    __________________
    Xmanster is offline
    Reply



    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 07:43.


    Powered by vBulletin®
    Copyright ©2000 - 2024, vBulletin Solutions, Inc.
    Theme made by Freecode