Change teams score
Hello, how I can change teams score in scoreboard? Or block adding when hostages not rescued.
|
Re: Change teams score
teamscore event
hook the event to block adding, send the messge to change |
Re: Change teams score
For test I written it:
PHP Code:
Quote:
|
Re: Change teams score
new team_name_to_block[10] = read_data(1)
if(equal(team_name_to_block,"TERRORIST")) |
Re: Change teams score
Exactly, always forget that should use equal, thanks. And array.
Quote:
|
Re: Change teams score
new team_name_to_block[10]
read_data(1, team_name_to_block, charsmax(team_name_to_block)) |
Re: Change teams score
You mean charsmax in code.
|
Re: Change teams score
my bad, fixed
|
Re: Change teams score
PHP Code:
|
Re: Change teams score
register_event("TeamScore", "block_scoreborad_add", "a")
public block_scoreboard_add() http://i0.kym-cdn.com/entries/icons/...4/facepalm.jpg |
| All times are GMT -4. The time now is 05:51. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.