22.04.2010, 11:15
Hi people. I want to change standard button object to my.
So, anybody have pwn code of Yom_buttons script ?
So, anybody have pwn code of Yom_buttons script ?
Sorry for my bad English
//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