Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- default
- {
- touch_start(integer x)
- {
- //This gets the coords for the buttons for the EZPZ HUD
- vector Coords = llDetectedTouchUV(0);
- //The following coords are for the buttons on EZPZ HUD Main Page
- if (Coords.x> 0.17722 && Coords.x< 0.80410) //STYLE BUTTON
- if (Coords.y> 0.77919 && Coords.y< 0.84305) //STYLE BUTTON
- if (Coords.x> 0.04276 && Coords.x< 0.94532) //COLOR/TEXTURE BUTTON
- if (Coords.y> 0.66308 && Coords.y< 0.73272) //COLOR/TEXTURE BUTTON
- if (Coords.x> 0.04517 && Coords.x< 0.94598) //CONFIG BUTTON
- if (Coords.x> 0.54562 && Coords.x< 0.61839) //CONFIG BUTTON
- if (Coords.x> 0.08812 && Coords.x< 0.90251) //SETTINGS BUTTON
- if (Coords.x> 0.37033 && Coords.x< 0.43630) //SETTINGS BUTTON
- if (Coords.x> 0.16697 && Coords.x< 0.78292)//SAVE BUTTON
- if (Coords.x> 0.28025 && Coords.x< 0.34584) //SAVE BUTTON
- if (Coords.x> 0.03713 && Coords.x< 0.95063) //MANAGER USERS BUTTON
- if (Coords.x> 0.18518 && Coords.x< 0.23397) //MANAGER USERS BUTTON
- if (Coords.x> 0.02434 && Coords.x< 0.40539) //FAQS
- if (Coords.x> 0.09652 && Coords.x< 0.16398) //FAQS
- if (Coords.x> 0.45938 && Coords.x< 0.95900) //UPDATE
- if (Coords.x> 0.09573 && Coords.x< 0.16303) //UPDATE
- if (Coords.x> 0.03440 && Coords.x< 0.95416)//LUCKICLIK
- if (Coords.x> 0.02433 && Coords.x< 0.07967) //LUCKICLIK
- {
- llOwnerSay("You pressed a button");
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement