Round Survival Money
1 Attachment(s)
ROUND SURVIVAL MONEY
Tired of only getting $1000 dollars when you win a round? What it basically does is when the round is started it'll tell you in a message that you must survive the whole round in order to gain 'X' amount of money 'X' is controlled by a CVAR. When the round ends it'll tell you in a message IF YOUR ALIVE, you've survived the round and have been given 'X' amount of money 'X' is once again controlled by a CVAR. CVARS: amx_survivemode - Turns plugin on/off (DEFAULT: 1) amx_survivecash - Controls how much money the surviving players are given (DEFAULT: $3000) CREDITS: M429-M4A1: Coding Help connorr: Coding Help MODULES: cstrike fun Not sure if this has been made already but if it has, i'll add some more things to it once I get some feedback such as maybe health or small sounds? |
Re: Round Survival Money
16000 is too much for surviving one round. $3000 is a good default. Also, maybe a user-glow for 5 or 10 seconds for survivors on new round to show others that this player has survived from the last round.
Or, even better, if the user gets at least x kills AND survives, he gets the $3000 bonus. |
Re: Round Survival Money
nice idea, and yeah i agree with m249
i will Test this later on tonight |
Re: Round Survival Money
Quote:
Quote:
|
Re: Round Survival Money
UPDATED
-Changed default money to $3,000 -Added glow time for survivors for a default of eight seconds. |
Re: Round Survival Money
In
PHP Code:
Anyway, nice! PS: You also mispelled "Connect" in your signature. :D |
Re: Round Survival Money
Nope ID should not be called with the set_task function because it specifies time only.
|
Re: Round Survival Money
Ok, other than that, the plugin doesn't seem to work for me. On a new round, no message shows up, leading me to believe the logevent wasn't called by any specific person, so no ID was even passed.
And when the server changes map with no players on it, it gives this error (which backs up the reason above): Quote:
|
Re: Round Survival Money
UPDATED
I should've used PHP Code:
|
Re: Round Survival Money
Code:
Why are you trying to give money both at round end and at new round ? Also you should know that you can die between round end and new round events, so it's better to check if players are alive at new round event. You can't catch id as you try to : Code:
Code:
Code:
Code:
|
All times are GMT -4. The time now is 01:23. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.