Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 07-08-2008, 07:27 AM
Rave_J Rave_J is offline
Graal Developer
Join Date: Feb 2006
Location: Texas
Posts: 848
Rave_J can only hope to improve
Send a message via AIM to Rave_J Send a message via MSN to Rave_J Send a message via Yahoo to Rave_J
K Stuck on this script

kk im working on this shopping system for my server
pretty much what u do is click on the npc the gui pops up
and u hit buy or close

now i got the opening the gui to display when u click but idk how to make it where u can click the buy to buy the item or what can someone help me ?
I have this so far ?

PHP Code:
//#CLIENTSIDE
function onCreated(){
destroy();
}
function 
onActionLeftMouse(){
new 
GuiBitmapCtrl("Shopping-Menu") {
  
10;
  
10;
  
widith 160;
  
height 80;
  
bitmap "shopping_gui.png";


Last edited by Rave_J; 07-08-2008 at 07:57 AM..
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 05:44 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.