Quote:
Originally Posted by patrickp2p
Thanks! That helped me a bunch XP. What do I put so it will show up to all players when they log on (It's basically a gui telling players about hirings and how to contact me).
|
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.