View Single Post
  #5  
Old 07-17-2006, 01:15 AM
ApothiX ApothiX is offline
Okiesmokie
Join Date: May 2004
Posts: 1,447
ApothiX is on a distinguished road
Quote:
Originally Posted by ForgottenLegacy
PHP Code:
new GuiButtonCtrl(MyGui_NameOfButton) {
  ...
}

MyGui_NameOfButton.onAction() {
  ...

That should do it. Look at what I did and you should be able to figure it out easily. Guis aren't hard at all.
I'm pretty sure his problem is that he doesn't know how to communicate with the server.

My suggestion is to follow Bl0nkt's advice and use a triggerfunction, however instead of triggeraction, you should use triggerserver ( syntax: triggerserver("gui", <weaponname>, <actionname>, <param1>, <param2>, ...) )
__________________


[06:24:19] * Parts: Skyld (i=silent@unaffiliated/skyld) ("Perhaps Okiesmokie did not realise that I like the boys. ")
Reply With Quote