Post: Proper Cbuf_Addtext? [C++]
02-11-2015, 03:19 AM #1
ItzMatriix
Are you high?
(adsbygoogle = window.adsbygoogle || []).push({});
    
opd_s cBuff_AddText_t = { 0x001D9EC0, 0x00724C38 }; //PS i know thats the MW2 Cbuf Address <<
void(*cBuff)(int clientIndex, const char* Command) = (void(*)(int, const char*))&cBuff_AddText_t;


is this the right cbuf addtext?

because i know with c# rtm the paramaters are slightly different. and some of the dvars im trying to set arent working in SPRX but do work with RTM. any help?
(adsbygoogle = window.adsbygoogle || []).push({});
03-01-2015, 08:19 PM #2
seanhellen
Are you high?
Originally posted by ItzMatriix View Post
    
opd_s cBuff_AddText_t = { 0x001D9EC0, 0x00724C38 }; //PS i know thats the MW2 Cbuf Address <<
void(*cBuff)(int clientIndex, const char* Command) = (void(*)(int, const char*))&cBuff_AddText_t;


is this the right cbuf addtext?

because i know with c# rtm the paramaters are slightly different. and some of the dvars im trying to set arent working in SPRX but do work with RTM. any help?


void Cbuf_AddText(char* Command)
{
opd_s Cbuf1 = {0x1DB240 , TOC };
void(*Cbuf)(int type,char* cmd) = (void(*)(int,char*))&Cbuf1;
Cbuf(0, Command);
}

This is what I have - not used it so can't confirm it works or not

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo