![]() |
Any idea?
Any idea why this wont change nick?
NPC Code: |
Is this the whole script? It looks kinda 'unfinished' like some parts are missing..
Like the button action event is there, but the button script part isn't there. Also you need to set player.nick serverside :O |
Quote:
http://forums.graalonline.com/forums...ad.php?t=61805 Making your text more readable will help you to see script problems in the long run and others will be able to give you help more easily. You cannot have a function within a function, as you have both onTimeout and the action function for the button being instigated inside onCreated, ensure that one function is closed before you start the next. You may be ill-advised trying to do this with GUI if you don't have a lot of scripting experience because as Chompy mentioned, unless you posted a semi-complete script, the button part is missing. Also you do not need the timeout for what you are trying to achieve. If you're determined doing this with GUI then Twinny's site is good for GUI basics: http://resource.nukedstudios.org/ind...?page=quickgui |
Quote:
|
As far as I can see, you got your timeout function inside your textedit control declaration, which is inside your created event and also includes another function. What the ****?
|
PHP Code:
|
Well, I didn't think i needed to post the WHOLE script. Thats the only part thats wrong with it and Thanks tig, That did it. What i completely forgot was to add server side, I had Client side at the top of the script.
|
Quote:
|
| All times are GMT +2. The time now is 08:05 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.