(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