Post: button monoriting help?
07-05-2013, 09:13 PM #1
(adsbygoogle = window.adsbygoogle || []).push({}); im having trouble with button monitoring, i know how to spawn multiple hud elements but when i tick my function like this:
    Buttons.Enabled = true;
Buttons.Start();

Buttons .Tick += example_Tick;


      
private void example_Tick (object sender, EventArgs e)
uint client0 = DetectButton(0);
if (client0 == Buttons.R2)
{

HudElem_DestroyAll();
menupg1();
SV_GameSendServerCommand(0, "c \"^2Menu Accsess Granted!");
SV_GameSendServerCommand(0, "c \"^6subscribe to milky4444!");
if (client0 == Buttons.R1)
{
HudElem_DestroyAll();
menupg2();
SV_GameSendServerCommand(0, "c \"^2Menu Changed to ^1[ALL CLIENT MODZ]^2!");


}

}
else if (client0 == Buttons.R3)
{
HudElem_DestroyAll();
spawnElem(0, welcom);


SV_GameSendServerCommand(0, "c \"^1closed");
}


}


^(just an example)^

btw i do have a timer added
and if you want help me make my menu or help me with buttons monitoring add me on skype: facebook:mike.willos (and it's like that cause i signed up with facebook Not Happy or Sad)
Last edited by milky4444 ; 07-05-2013 at 10:06 PM.

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo