How to get playername (optimize this?)
How to optimize getname last ct?
funcion: GetCTLastName() Code:
|
Re: How to get playername (optimize this?)
PHP Code:
|
Re: How to get playername (optimize this?)
Quote:
|
Re: How to get playername (optimize this?)
Quote:
"a" - Don't return dead players "b" - Don't return alive players "c" - Skip bots "d" - Skip real players "e" - Match with passed team "f" - Match with part of name "g" - Ignore case sensitivity "h" - Skip HLTV |
Re: How to get playername (optimize this?)
"ae" is enough, there is no reason to filter bots, and there is no way to collect an alive HLTV.
And last code contains mistakes on name get_user_name(players[0], name, charsmax(name)) is all you need when num == 1, the next format line is completely wrong/ |
Re: How to get playername (optimize this?)
Quote:
If he uses bots... probably he doesn't want them name Yes it is possible to collect an alive HLTV... Transfer it to one team and then use a plugin to revive... :D |
Re: How to get playername (optimize this?)
Last ct is last ct, bot or not.
|
Re: How to get playername (optimize this?)
The final code:
Code:
No Job plugin if players in game > 1.... And other question... How to check the same code but with boolean variable ej: g_Winner[Index]??? Example: Code:
This is correct code or not?? |
Re: How to get playername (optimize this?)
It is not correct.
Explain what you are trying to do. |
Re: How to get playername (optimize this?)
I want to get last player alive CT and g_Winner variable == true.
|
| All times are GMT -4. The time now is 18:54. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.