Quote:
Originally Posted by ConnorMcLeod
It stays redundant. Also, players have 0.1 to buy weapons for free (depending on their sold), so Spawn method is better.
If you want to improve your plugin :
Don't change mp_startmoney values, admins may want to use different settings (also get pointer in plugin_init would have been better).
Add filters (flag "a") in get_players so you only retrieve alive players.
|
Ok Now fixed. BTW I am not changing the mp_startmenu value + The Admins can still re-change the value.
And this plugin only sets the mp_startmenu value = to the "amx_round_money" cvar so that there is consistent amount of money given in the FIRST round too.
And as for the get_players() I am now using flag "a" = (Dead players aren't included in this)! Please again reconsider this! Well, if you think it is not up to the mark then you can suggest some improvements, I will be happy to include them too.!
UPDATED: [30/12/2013]
v1.2 - Now using get_players() with flag "a" (Excluding Dead Players (retrieving alive players only))