View Single Post
Author Message
Fry!
Veteran Member
Join Date: Apr 2008
Location: Latvia
Old 10-19-2008 , 13:31   [ZP] Extra Item : zSpawn || Updated v1.4.1 [26/12/2009]
Reply With Quote #1

[ZP] Extra Item : zSpawn
(For Humans and Zombies)

by Fry!


Description :

This plugin allows you to respawn even if you are killed by zombies or worldspawn. This ability will cost to you some ammo packs. This plugin also has feature for delayed players, when you are joined middle in the game and if you want to play just say !delayed. After respawn you will have temp. invisible (few seconds) that will give you to hide before everyone can see you.

Cvars
:

Quote:
  • zp_zspawn_cost "8" - How much it gonna cost.
  • zp_zspawn_time "2.0" - How long it gonna take to respawn in game.
  • zp_zspawn_protection_time "7.0" - How long protection will lenght when you respawn.
  • zp_delay_zspawn_time "15.0" - How long it gonna take to respawn (only for delayed players).
    .
Command :
  • To buy it :
- say !zspawn or say_team !zspawn

  • If you are delayed :

- say !delayed or say_team !delayed

Credits :
  • Antibots - For helping
  • G-Dog - I borrowed some code from his coding style.
  • Dores - Helped with Late Join function
Changelog :

Code:
19/10/2008 - v1.0 - First release
20/10/2008 - v1.1 - removed fun module added hamsandwich module ( Thanks to Antibots ) changed some lines.
23/10/2008 - v1.2 - rewrited plugin from crapy to new one ;) and added some cvars
24/10/2008 - v1.2.1 - changed command from /respawn to /zspawn and plugin name.
25/10/2008 - v1.2.5 - fixed respawn not working, fixed some cvars, fixed plugin name typo, optimized code.
25/10/2008 - v1.2.7 - removed one toggle cvar and unnecessary line that zombies can't buy this ability.
19/11/2008 - v1.3 - fixed respawn not working because of toggle cvar (lol) so I removed it, fixed forgaten cvar due you could waste ammo packs, now zombies can respawn too.
09/01/2009 - v1.4 - Fixed some previous bugs (could respawn always), added new feature Late Join respawn
25/08/2009 - v1.4.1 - 
  • Fixed : Possible respawn even if you are alive, and could waste ammo packs.
  • Changed : There is no need to check if player was zombie or not buying zspawn, optimized code.
  • Added : Fakemeta, Temp. Invisible.
Plugin is available to download here!
__________________
Quote:
Originally Posted by wisam187
why all the great scriptors..... always.... leave and let their works go into oblivion ???
i miss your way in making outstanding plugins...
this forum needs lots of the likes of you..... and less of the idiots that spread right now.

Last edited by Fry!; 12-26-2009 at 05:37. Reason: New release, v1.4.1
Fry! is offline