Yeah, oldschool told me that too, but the new offsets etc are apparently correct (tested by insanely_death from his thread) and I use the noclip (working) entry as a template.
Eg. For laser I have;
bool LS[18];
void Laser(int client)
{
if(LS[client] == false)
{
*(char*)0x000b6703 = 0x01;
TOC_Calls::SV_GameSendServerCommand(client, 1, "f\"Laser ^7[^2On^7]\"");
LS[client] = true;
}
else
{
*(char*)0x000b6703 = 0x00;
TOC_Calls::SV_GameSendServerCommand(client, 1, "f\"Laser ^7[^1Off^7]\"");
LS[client] = false;
}
}
This is the noclip entry with a few bits changed but it doesnt work. The even more confusing bit is I have done the same with uav and the menu still freezes but it actually works...if i go into a private match, select uav, go into a public match, it works lol.
So far uav (kinda), unlimited ammo and nightvision have worked using this method. No others do