Guardian (Gears of War 2) 1.43 - 2015-06-13
2 Attachment(s)
Guardian based on Gears of War 2, a game type which add a team leader to your team who is the guardian. As long the team leader is alive other player will be respawned. The Guardian spawn with 150hp, 200ap and glowing the same colour as the team. A status icon will also indicate when you are the guardian. The team mates have to protect him or her while some has to attack the other guardian to win.
Code:
amx_guardian, sv_guardian = 1/0 Version 1.0 - First release Version 1.1 - Removed Log Events - Changed some Events to Ham Events - Fixed Team Change bug - Added Guardian Kill Notice as HUD Version 1.2 - Multilingual support - CS VIP support Version 1.21 - Fixed Multilingual Version 1.22 - Small optimization Version 1.23 - Small Fix Version 1.3 - Fixed Status Icon may not be shown after next round - Fixed Gurdian will spawn in opposite team when the player change team while he or she is a guardian - Small optimization Version 1.4 - Added Color Messages - Added two commands to see who are the guardians Version 1.42 - Fixed Guardian would still be alive after disconnect - Fixed Guardian would still be alive after changing to spectator Version 1.43 - I think Guardian will spawn as Server is fixed. (Request from someone) Special Thanks: Crazyeffect - Added multilingual support Alejo324 - Spanish translation Salau - Portuguese translation |
Re: Guardian (Gears of War 2) 1.0
Quote:
But code need much optimization/changes :0 |
Re: Guardian (Gears of War 2) 1.0
thanks and where do i need to change?
|
Re: Guardian (Gears of War 2) 1.0
Example:
Called 1 or more times PHP Code:
PHP Code:
Also check if player alive PHP Code:
|
Re: Guardian (Gears of War 2) 1.0
I see, well so I should loop through players then when its only called one time?
|
Re: Guardian (Gears of War 2) 1.0
It is called for every player.
No need to loop. |
Re: Guardian (Gears of War 2) 1.0
Josh No, just look at my previous post what I posted to you
|
Re: Guardian (Gears of War 2) 1.0
xbatista and ot_207 thanks
Is there any world event before spawn I can register which is called one time? Would be great if anyone could tell. However I going to do homework so I will optimize later. |
Re: Guardian (Gears of War 2) 1.0
Goog job :) + for you.
|
Re: Guardian (Gears of War 2) 1.1 - 16/09/2009
New Version
|
All times are GMT -4. The time now is 07:32. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.