Advertisement
Guest User

Untitled

a guest
Jan 31st, 2014
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.10 KB | None | 0 0
  1. //#CLIENTSIDE
  2. function onActionClientside(cmd)
  3. {
  4. if (cmd == "buymenu1"){
  5. this.price = param[3]; //this goes into the secound question aswell, can I define this with the trigger for example this.price = buymenu1.parem[3]?
  6. BuyMenu.show();
  7. new GuiWindowCtrl("BuyMenu") {
  8. profile = GuiBlueWindowProfile;
  9. clientrelative = true;
  10. clientextent = "318,240";
  11.  
  12. canmove = true;
  13. canresize = true;
  14. closequery = false;
  15. destroyonhide = false;
  16. text = "Window 1";
  17. x = 850;
  18. y = 165;
  19.  
  20. new GuiTextCtrl("BuyMenu_Name") {
  21. profile = GuiBlueTextProfile;
  22. height = 20;
  23. text = "Name";
  24. width = 34;
  25. x = 12;
  26. y = 11;
  27. }
  28. new GuiTextCtrl("BuyMenu_Price") {
  29. profile = GuiBlueTextProfile;
  30. height = 20;
  31. text = (this.price);
  32. width = 29;
  33. x = 11;
  34. y = 29;
  35. }
  36. new GuiButtonCtrl("BuyMenu_Buy") {
  37. profile = GuiBlueButtonProfile;
  38. text = "Buy";
  39. width = 80;
  40. x = 9;
  41. y = 54;
  42. }
  43. }
  44. }
  45. }
  46. function BuyMenu_Buy.onAction() {
  47. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement