Post: C# Troubles. ( Sorry to sound like a noob, but I am one :P )
03-11-2014, 09:30 PM #1
(adsbygoogle = window.adsbygoogle || []).push({}); Okay, so I'm not native to C#, and I released my first ever project I've created in that language the other day. But I'm running into some troubles now that I don't seem to be able to work around however hard I try, or look for solutions online. (sorry if this is posted somewhere, but I've honestly been looking all day :()

So, here's the problem...

I'm using Choco's RPC & Hud Elements script in my project, which has worked perfectly (no errors etc..) but when I try to create a function, it gives me all kinds of errors, and if there isn't an error, it just plain doesn't do anything to MW3 when it's running...

I'm calling the function like this: (it's the code for a button in the project.)

uint CBuf_AddText = 0x1db240;
CallFunc(Cbuf_AddText, 0, "set cg_fov 90");
RPC_Enable_124();

Picture:
[ATTACH=CONFIG]30223[/ATTACH]

So, basically the error I'm getting is that function has some invalid arguments. Or, to be precise:

[ATTACH=CONFIG]30224[/ATTACH]

So, what's causing this? And, more importantly, how can I fix it? :( I'm guessing it's something really simple that I should have spotted, but as I said, I'm a learner. xD

I will love you foreverrrr if you can sort this issue out for me, thanks.

Edit: If you can help, add me on skype: [email][email protected][/email]
I would be sooo grateful xD
(adsbygoogle = window.adsbygoogle || []).push({});
03-19-2014, 04:02 PM #2
kiwi_modz
I defeated!
this works for me.

uint CBuf_AddText = 0x1DB240;
CallFunc(CBuf_AddText, 0, str_pointer("set cg_fov 90"));

And have rpc enable on attach button.

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo