[HELP] cs_set_user_team / jointeam - joinclass
I know that using cs_set_user_team on a player who haven't yet selected a team and a class will not work properly because some required fields by the game are not yet set
I was wondering what those fields are, and if it is possible to set them manually from a plugin |
Re: [HELP] cs_set_user_team / jointeam - joinclass
If the user haven't selected a team, then the result must be CS_TEAM_UNASSIGNED which is 0.
|
Re: [HELP] cs_set_user_team / jointeam - joinclass
You didn't understand my point... read again :)
|
Re: [HELP] cs_set_user_team / jointeam - joinclass
Why setting fields manually if you can just force engine to join team and joinclass.
Or maybe you want just to know which are those fields so you can use them in other purposes? |
Re: [HELP] cs_set_user_team / jointeam - joinclass
Quote:
Choose team: https://github.com/s1lentq/ReGameDLL...ient.cpp#L1491 Choose class: https://github.com/s1lentq/ReGameDLL...ient.cpp#L1330 |
Re: [HELP] cs_set_user_team / jointeam - joinclass
do you mind explaining me what this does "->"
PHP Code:
|
Re: [HELP] cs_set_user_team / jointeam - joinclass
Member access operator. Accesses a class/struct member.
|
Re: [HELP] cs_set_user_team / jointeam - joinclass
Still don't get what's "missing" any ideas what is missing that renders the player frozen and being teleported around by the "unassigned camera"?
|
Re: [HELP] cs_set_user_team / jointeam - joinclass
https://github.com/s1lentq/ReGameDLL...ayer.cpp#L3444
Set m_iJoiningState offset. Code:
player->m_flRadioTime = gpGlobals->time + 1.5f; |
All times are GMT -4. The time now is 17:27. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.