Quote:
Originally Posted by iBeatz
I suppose you could call a function inside the GUI script from the NPC-Control when the player logs in ie. this goes in the NPC-Control:
PHP Code:
function onActionPlayerOnline(){
findWeapon("your weapon name").Test();
}
Replace the function Test() with the function that shows/activates the GUI in the script, and make sure that the function in the GUI script is a public function so that other NPCs can access it.
|
excessively wasteful, should just be in a weapon players have upon login, and the showing of the GUI should be done in onCreated event clientside