Im trying to send the command "name anything" to the alteriwnet console but every time it results in a crash. It seems like all the commands except the name command works any idea why? I need this command to work becuse i am working on a name stealer which do work but i have to type the command in console manually to refresh the name.
this is the SendCommandToConsole im using:
void (__cdecl *SendCommandToConsole)(int a1,int a2,char *cvar)=(void (__cdecl *)(int,int,char *))0x0446DD0;
Thank you, and im sorry for my bad engelish