Harry, why would you do it that way? haha
void muteplayer(u32 id) {
char buffer[100];
sprintf(buffer, "xmuteplayer %d", id);
Cbuf_AddText(LOCAL_CLIENT_FIRST, buffer);
sys_memory_free((sys_addr_t)buffer);
}
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.