(adsbygoogle = window.adsbygoogle || []).push({});
Hi all - I am having a bit of a problem. I am using OSM's sprx menu base and am looking to bind NoClip to R3. I have the following;
void BindNoClip(int client)
{
{
if(Buttons:
etectBtn(0, Buttons::R3))
{
*(char*)(0x0110d87f + 0x3980 * client) = 0x01;
if(Buttons:
etectBtn(0, Buttons::R3))
{
*(char*)(0x0110d87f + 0x3980 * client) = 0x00;
}
}
}
}
Now, To me that would work...maybe, but thats not the problem, the problem is that I get errors (x4) that say
name followed by "::" must be a class or namespace name and puts a cursor by the 4 Buttons.
which to me means it isnt recognising "Buttons" as a namespace/class - but it is and it is perfectly fine using the exact same thing to open the menu to start with (except its dpad up, not R3)
Anyone any ideas?