- Статус
- Оффлайн
- Регистрация
- 1 Янв 2021
- Сообщения
- 28
- Реакции
- 5
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
so my friend is making his own legit/movement/semirage/rage (rage maybe) and he was working on a vote kick for his player list but it won't work.
he tried swapping ClientCmd_Unrestricted instead of ExecuteClientCmd but that crashes. as far as he knows its sending the callvote kick command just not the userid.
Any help? Thanks in advance.
C++:
if (ImGui::Button("Vote Kick"))
{
std::string cmd;
// userid
cmd.reserve((sizeof("callvote kick ") / sizeof("")) + 3);
cmd.append("callvote kick ");
cmd.append(std::to_string(entityInformation.userId));
g_EngineClient->ExecuteClientCmd(cmd.c_str());
}
he tried swapping ClientCmd_Unrestricted instead of ExecuteClientCmd but that crashes. as far as he knows its sending the callvote kick command just not the userid.
Any help? Thanks in advance.