![]() |
CopyLevel() help
well, i have done copylevel() before and it worked but now that i tried to use it again, it won't work.
Weapon: PHP Code:
NPC Code:level insides/*.nw NPC-Server Folder Rights: NPC Code:r levels/*.nw ..and yes, insides/ does exists, it have 1 level inside it already. |
onCreated() on serverside is an event that doesn't have a player scope, and since you're trying to read 'player.account' in it, it reads it as '0'.
|
Also, make sure you lowercase the player.account because levels can't contain capital letters. This might be helpful.
|
Quote:
will try again but from clientside and send player.account from the clientside. Quote:
|
Try adding this to your folder config.
level *.nw If you still aren't having any luck just store the test.nw in your insides folder, and use: PHP Code:
|
Quote:
|
Quote:
Quote:
*Edit: Weapon: PHP Code:
|
ah, i got it working, thanks everyone :)
|
Quote:
Also Deas, you don't need to send your account in the trigger :P You can use player.account just fine. |
Quote:
|
Quote:
( i had player.account on serverside but i'm not sure if that was the problem. ) |
I'm not sure why this wasn't working for you. I just tested it on Valikorlia and it works just fine. Mind enlightening others, who might have the same problem? The only thing I could guess is that the levels have to be in the same folder.
|
Quote:
sorry. |
| All times are GMT +2. The time now is 08:48 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.