![]() |
NPCS not updating?
Okay this has to be the MOST ANNOYING thing in the world.
I have a public function being called from a localnpc via findNPC() which works and all then it would message("") whatever the outcome is blah blah. Well for some reason the message only will change if I say something, reconnect, or a player enters. PHP Code:
nothing works |
I have noticed that npcs do not update clientside unless you reconnect for some odd reason.
|
It may be that you're trying to overload the message function. Did you try naming the function something different?
|
Well this is totally a serverside npc - I tried making a regular function which called the message function which didnt do much. It seems that only message this happens too
|
Okay, my solution was to triggeraction to itself on the clientside to do displaying of msg whatever :o
|
When you modify some other npc then it will not be updated, since it is inactive. Best way is to activate it afterwards by triggering it:
PHP Code:
|
Quote:
|
| All times are GMT +2. The time now is 03:04 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.