nixware.cc
-
Автор темы
- #1
В Misc OnCreateMove
Код:
if (Settings::Misc::radiospam)
{
std::vector<std::string> radiospam = { "coverme" , "takepoint" , "holdpos", "regroup", "followme",
"takingfire", "go", "fallback", "sticktog",
"getinpos", "stormfront", "report", "roger",
"enemyspot", "needbackup", "sectorclear",
"inposition", "reportingin", "getout",
"negative", "enemydown" };
static DWORD spammed = 0;
if (GetTickCount() - spammed > 800)
{
spammed = GetTickCount();
std::string msg = radiospam[rand() % radiospam.size()];
Interfaces::Engine()->ExecuteClientCmd(msg.c_str());
}
}