AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   Life Saver Shield (https://forums.alliedmods.net/showthread.php?t=7987)

Peli 11-28-2004 04:09

Life Saver Shield
 
1 Attachment(s)
NEWS
*10 May 2006* All problems fixed. Works with all mods.

TO-DO LIST
  • (Done) Adding a new feature: Messages to let you know when the glow/godmode is on/off.

PLUGIN STATUS
Version 2.0 Compiles fine, Tested - works fine.

PLUGIN
Code:

  CREDITS:
      Xeroblood, FreeCode and FireStorm for helping me with
      some problems in the code

  DESCRIPTION:
      This plugin let's every player bind
      a key to the say /lss command and when a player uses it ,
      they glow and have godmode for 5 seconds , this is very
      useful for when you're in a sticky situation but you can only
      use it once every time you spawn.

  COMMANDS:
      Bind : "say /lss" in the console

  CHANGELOG:
      Version 1.0 - First release
      Version 2.0 - Fixed bugs


Johnny got his gun 11-28-2004 05:15

What's the point? You can do this all the time and no one can harm you, and you can't harm anyone else either because everyone is doing it?

FeuerSturm 11-28-2004 07:22

Quote:

Originally Posted by Johnny got his gun
What's the point? You can do this all the time and no one can harm you, and you can't harm anyone else either because everyone is doing it?

he allows one use per map

Peli 11-28-2004 17:37

Yea sorry , I forgot to add a little more to the description sorry JGHG , my fault , you can only use it once every time you spawn. :)

FeuerSturm 11-28-2004 18:40

don't get me wrong, but there's no code that would reset it after
death or round. it's only reset on map restart/map change.

you can use the ResetHUD event to allow using it again after death,
or the RoundState event to allow it again after a round.

further more there's some minor bugs in your code,
just some brackets wrong, if you like i can help you fix that and
extend it a bit.
so let me know.

Peli 11-28-2004 21:56

Sure FireStorm that'd be cool , there were always bugs that I just couldnt fix , but about the event thing , I kinda get you but is the task function no use? If I got rid of it , would I just make a ResetHud() event and then take it off? Appreciate your help , PM me if you want. :)

ThE_DiViXioN 03-29-2005 13:28

Sounds cool... But I use SuperHero mod so this wont do anything...


All times are GMT -4. The time now is 23:10.

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