Page 1 of 1

Perkele hltv i terroristus.

Posted: 2011 Nov 28 21:39
by xDede
Sveiki, kaip padaryti kad HLTV Neperkeltu i terroristus

Code: Select all

new pNum, Players[32], index            get_players(Players, pNum)                    for(new i; i < pNum; i++)        {        index = Players[i]                        if(cs_get_user_team(index) == CS_TEAM_T )        {        cs_set_user_team(index, CS_TEAM_CT)        }        else        {        cs_set_user_team(index, CS_TEAM_T)        }

Re: Perkele hltv i terroristus.

Posted: 2011 Nov 28 21:49
by newb

Code: Select all

get_players(Players, pNum, "h")
* Flags:
* "a" - don't collect dead players.
* "b" - don't collect alive players.
* "c" - skip bots.
* "d" - skip real players.
* "e" - match with team.
* "f" - match with part of name.
* "g" - ignore case sensitivity.
* "h" - skip HLTV.