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

[CSS]Auto Equip


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Micafire
Member
Join Date: Nov 2010
Location: Richmond, Virginia
Plugin ID:
2196
Plugin Version:
1.0.0
Plugin Category:
General Purpose
Plugin Game:
Counter-Strike: Source
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Provides every player on spawn with an Item(Grenade will be the only default for now until updates)
    Old 01-30-2011 , 00:36   [CSS]Auto Equip
    Reply With Quote #1

    Auto-Equip
    Back in development!
    Welcome to my first plugin, Auto Equip which will auto-equip on spawn with a Grenade this may be helpful in some Game mods and others but so far their will need to be a lot of work done to make it to the way it supposed to be, i am new to scripting plugins for Sourcemod and hope my first project works well for most Gameservers.

    Plugin Information
    • Purpose:To Automatically equip a player with a weapon or item specified by the Cvar.
    • Compile Date:1/29/2011
    • Plugin Version:1.0.0

    Plugin Commands
    Code:
    sm_Auto_Equip_enabled 1/0 - Enable Auto Equip, 1=Enabled
    ToDo
    >>Fix an error where the item is given on spectators at join causing the item to spawn in mid-air.

    >>Add more code to allow the plugin to use other items instead of grenade.
    Code:
    Examples:
    sm_Auto-Equip_Weapons "" Flags go in there such as Auto Shotgun=A and Deagle=B, Using these flags will make the plugin give these items on spawn.
    >>Add support for other source games that use Sourcemod(Unable to do this as i dont own the other games)

    >>Add a Timer to delay giving the item from spawn.

    >>Create an In-game Menu to edit what weapons will be auto-Equiped or through a .CFG file.

    >>Add more weapons throughout the game mod.

    >>Create a command to either give it to one team or both.
    Change log
    >1/29/2011 - Initial Release


    Suggestions, Support
    If you have a suggestion into helping me improve this plugin you can contact me at [email protected] or post here.

    Credits
    Micafire - Wrote the plugin.
    Samantha - Helping out Correcting mistakes.
    (And someone from IRC) - Helped corrected errors that prevented compiling.
    Attached Files
    File Type: sp Get Plugin or Get Source (auto-equip.sp - 1763 views - 1.9 KB)

    Last edited by Micafire; 06-20-2012 at 20:24.
    Micafire is offline
    Micafire
    Member
    Join Date: Nov 2010
    Location: Richmond, Virginia
    Old 01-31-2011 , 20:12   Re: [CSS]Auto Equip
    Reply With Quote #2

    Upcoming Notifications:
    I am now taking a break off of schoolwork and going to at least implement support for other weapons throughout Counter-Strike:source and will continue practice and hopefully finish up the plugin i want to let you know that i accept suggestions and help!
    Micafire is offline
    Micafire
    Member
    Join Date: Nov 2010
    Location: Richmond, Virginia
    Old 03-12-2011 , 23:41   Re: [CSS]Auto Equip
    Reply With Quote #3

    I'm sorry to say but i am deeply confused with sourcepawn and just can't do it i have spent weeks and can't get a success at it. I am just going to drop the project but those server owners who wish to find an auto-equip for just a grenade it will be here for you still and hope my first plugin serves you well.

    Sorry guys

    I might pitch in to reviving the development of this plugin if i can get over it but i spent enough time already trying to solve the puzzle into learning sp. But i don't know where to look for examples and more explainable tutorial.

    Last edited by Micafire; 03-12-2011 at 23:48.
    Micafire is offline
    forepost
    Junior Member
    Join Date: Apr 2011
    Old 04-11-2011 , 22:12   Re: [CSS]Auto Equip
    Reply With Quote #4

    Thank you! Very helpful for me.
    forepost is offline
    Micafire
    Member
    Join Date: Nov 2010
    Location: Richmond, Virginia
    Old 06-08-2011 , 02:20   Re: [CSS]Auto Equip
    Reply With Quote #5

    Your welcome
    Micafire is offline
    Annihilator
    Senior Member
    Join Date: Nov 2006
    Location: Lithuania
    Old 06-08-2011 , 07:43   Re: [CSS]Auto Equip
    Reply With Quote #6

    >>Fix an error where the item is given on spectators at join causing the item to spawn in mid-air.

    Use IsPlayerAlive(client), that should fix it.

    >>Add a Timer to delay giving the item from spawn.

    You have already made a timer, just increase its value or make a cvar for it
    Annihilator is offline
    Micafire
    Member
    Join Date: Nov 2010
    Location: Richmond, Virginia
    Old 06-10-2011 , 02:54   Re: [CSS]Auto Equip
    Reply With Quote #7

    Thank you very much, annihilator!
    Micafire is offline
    w4rkr4f7
    Member
    Join Date: Dec 2008
    Old 07-02-2011 , 00:44   Re: [CSS]Auto Equip
    Reply With Quote #8

    can you add a cvar to give weapon only to a specific team? thanks
    w4rkr4f7 is offline
    melaf
    Senior Member
    Join Date: Aug 2011
    Old 09-26-2011 , 00:18   Re: [CSS]Auto Equip
    Reply With Quote #9

    There is one bug.
    autoship works, but before the screen turns pomegranate
    how to remove it?
    melaf is offline
    Micafire
    Member
    Join Date: Nov 2010
    Location: Richmond, Virginia
    Old 06-20-2012 , 20:21   Re: [CSS]Auto Equip
    Reply With Quote #10

    Well I see the plugin has proved useful to many people and I like the majority of the suggestions, but since it's summer now and I can have the time to add these suggestions and squash bugs as possible, and make it more convenient.

    I am back in development of this plugin and I am getting all my work sorted out, expect an update sooner.
    Micafire 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 08:13.


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