Yom_buttons
#2

Code:
//max buttons that can be created.
#define MAX_BUTTONS		50


//this is the distance max for detecting buttons. If the player is at this
//distance, or less, of a button, he will press this button.
#define MAX_DISTANCE	1.3


//this is the object modelid used for buttons.
//i'm asking for nice objects, if you know some that can be used as buttons, tell me!
#define OBJECT			2961


//comment this line to disable the sound, or change the number for another sound
//don't forget that you can do whatever you want in OnPlayerPressButton
#define SOUND      1083
In FS
Reply


Messages In This Thread
Yom_buttons - by Mike_Salinger - 22.04.2010, 11:15
Re: Yom_buttons - by CrunkBankS - 22.04.2010, 12:00
Re: Yom_buttons - by Mike_Salinger - 22.04.2010, 12:27
Re: Yom_buttons - by Mike_Salinger - 22.04.2010, 21:15
Re: Yom_buttons - by M4S7ERMIND - 22.04.2010, 21:34

Forum Jump:


Users browsing this thread: 3 Guest(s)