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

[Alien Swarm] Healme


Post New Thread Reply   
 
Thread Tools Display Modes
Author
DeltaTimo
Member
Join Date: Nov 2009
Plugin ID:
2326
Plugin Version:
0.1
Plugin Category:
General Purpose
Plugin Game:
Alien Swarm
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Heals, cures the infection of your marine, or force your marine to suicide.
    Old 05-06-2011 , 17:27   [Alien Swarm] Healme
    Reply With Quote #1

    [ALIEN SWARM] Healme

    Description(What is this?):
    This plugin allows admins with the Cheats flag to, heal(healme) their marine, cure the infestation of their marine and force their marine to suicide.
    Installation:
    Simply put the "Healme.smx" into the plugins folder.
    for example:
    Code:
    C:\Program Files\Alien Swarm Server\swarm\swarm\addons\sourcemod\plugins\
    Owners word:
    Hello readers.
    This is my first plugin, so I wish to have much feedback.
    If there's a bug, send me an Email to:
    [email protected]

    Commands:
    healme Tested [√]
    Code:
    Arguments: none
    Description: Heals your marine to maximum marine health.
    cureinfection Tested [√]
    Code:
    Arguments: none
    Description: Cures the infection of your marine, if infected.
    suicide Tested [√]
    Code:
    Arguments: none
    Description: Forces your marine to commit suicide.
    Changelog:
    V0.5
    -Release

    Todo-list:
    -Add Marine-Slap.
    -Edit healing/cureinfection/suicide(slay then) for others.
    -Add Ammoresupply.
    -Edit Ammoresupply for others.
    Attached Files
    File Type: smx Healme.smx (3.0 KB, 328 views)
    File Type: sp Get Plugin or Get Source (Healme.sp - 274 views - 1.6 KB)
    __________________
    Steam ID: Hund_ohne_Mund


    Last edited by DarthNinja; 11-17-2011 at 20:13. Reason: fixed version cvar
    DeltaTimo is offline
    DarthNinja
    SourceMod Plugin Approver
    Join Date: Mar 2009
    Location: PreThinkHook()
    Old 11-17-2011 , 20:11   Re: [Alien Swarm] Healme
    Reply With Quote #2

    I'm going to approve this, but there are a few minor things that could be improved/changed:
    • In your version cvar, you have the description of "Tank_Buster_Version" which seems unrelated to the plugin.
    • In your command functions you just call another function. Why not move your code into the command functions?
    • Rather then calling Swarm_GetMarine() twice in each function, you could just call it once and save it to a variable.
    -Edit:
    Your version + version cvar were incorrect, I fixed that for you, but your changelog still shows v0.5 when then plugin version is defined as v0.1
    You might also want to let people know that SwarmTools is required to compile the plugin.
    __________________

    Last edited by DarthNinja; 11-17-2011 at 20:16.
    DarthNinja 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 06:27.


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