Raised This Month: $32 Target: $400
 8% 

FF2 [Subplugin] Another Respawn Ticket


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Hoto Cocoa
Senior Member
Join Date: Jun 2018
Location: Somewhere
Old 02-26-2020 , 07:53   [Subplugin] Another Respawn Ticket
Reply With Quote #1

With the help from junhe and WhiteFalcon. Here's a new respawn ticket plugin which will not make the boss max health too high to defeat and a smart way to reward your donators. When a player use a respawn ticket boss will restore the damage they dealt. If player has dealt 0 damage boss will gain 7% rage charge.
It shows a menu when player died. Player can use their respawn ticket anytime after death.
You might want to use override.
Command
sm_spawn - use a respawn ticket.

Cvar:
respawn_playersleft - When the number of players alive is less than this, players are not allowed to respawn, 0 to disable.
respawn_toomuchdamage - 1 - Don't allow player to respawn when their damage reach the ragedamage. 0 - Disable.

Installition:
Put the .smx to sourcemod/plugins
There's no need to rename it to .ff2

Changelogs
1.0 - Initial release
1.1 - Delete some include files and fix a formatting error.
1.2 - Fix a health bug when respawning after dying as a minion.
1.2.1 - Fix a bug that player can use the respawn ticket even if their ticket is false.
Attached Files
File Type: smx respawnvip4.smx (14.2 KB, 35 views)
File Type: sp Get Plugin or Get Source (respawnvip4.sp - 32 views - 7.1 KB)

Last edited by Hoto Cocoa; 01-07-2021 at 05:00.
Hoto Cocoa is offline
Hoto Cocoa
Senior Member
Join Date: Jun 2018
Location: Somewhere
Old 12-27-2020 , 07:34   Re: [Subplugin] Another Respawn Ticket
Reply With Quote #2

Update:
1.2 - Fix a health bug when respawning after dying as a minion.
__________________
Hoto Cocoa 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 12:35.


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