Masskill

Posts 1–2 of 2 · Page 1 of 1
Masskill
Nothing too special.
Obviously this has to be called from the server thread. Also put a delay between each kill.

Code:
void CHost::KillPlayer(gentity_s *ent, gentity_s *inflictor, int weaponNum)
{
	gentity_s *self = this->GetLocalEnt();
 
	CallableCdecl<int, gentity_s *, gentity_s *, gentity_s *, int, unsigned int, unsigned int, char, int, int, int, int>(this->m_parent->GetAddress(ADDR_Scr_PlayerKilled)).Call(ent, inflictor, self, 100000, 0, weaponNum, 0, 0, 0, 0, 0);
}
seriously? you do not have shame? i bet that you atleast known't how use that...
Posts 1–2 of 2 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?