View Single Post
  #4  
Old 05-30-2010, 08:52 PM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
If the GUI object is created, instead of using a trigger you can just use: Biz_PlayerControlWindow.show();

or use public functions. I.e:

WeaponA:

PHP Code:
//#CLIENTSIDE
public function tellJoke() {
  
player.chat "What's the deal with airline food?";

WeaponB:

PHP Code:
//#CLIENTSIDE
function onCreated() {
  
// Find Weapon Way
  
findweapon("WeaponA").tellJoke();
  
// Reference Way
  
(@"WeaponA").tellJoke();

__________________
Quote:
Reply With Quote