ok, I have a flashlight script that uses two button to trigger it. the f key on a pc keyboard and the x-box 360 controller button joy_5. it works fine.
Code:
while (energy > 0 && key_f + joy_5== 1)


I want to do the same for other codes i have with no success. i want to use the keyboard and the the 360 controller to trigger these other things as well. when i try to add the other keys, I get errors. what can i do? i want to have the option to use either the mouse and keyboard or the 360 controller buttons.


My Famous Quotes: "Hip hop is like a virus, infecting everyone and everything around it. Every form of media has some way,shape or form, assimilated hip hop into it." It has also mutated into other strains like, trip hop, house, rap, gangster, and conscious forms. Once you are infected with it, its with you for life."