Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //#CLIENTSIDE
- function onActionClientside(cmd)
- {
- if (cmd == "buymenu1"){
- 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]?
- BuyMenu.show();
- new GuiWindowCtrl("BuyMenu") {
- profile = GuiBlueWindowProfile;
- clientrelative = true;
- clientextent = "318,240";
- canmove = true;
- canresize = true;
- closequery = false;
- destroyonhide = false;
- text = "Window 1";
- x = 850;
- y = 165;
- new GuiTextCtrl("BuyMenu_Name") {
- profile = GuiBlueTextProfile;
- height = 20;
- text = "Name";
- width = 34;
- x = 12;
- y = 11;
- }
- new GuiTextCtrl("BuyMenu_Price") {
- profile = GuiBlueTextProfile;
- height = 20;
- text = (this.price);
- width = 29;
- x = 11;
- y = 29;
- }
- new GuiButtonCtrl("BuyMenu_Buy") {
- profile = GuiBlueButtonProfile;
- text = "Buy";
- width = 80;
- x = 9;
- y = 54;
- }
- }
- }
- }
- function BuyMenu_Buy.onAction() {
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement