![]() |
copylevel()
Could anyone give me a working example of it? Ive used this command in GS1 before, but for some reason I just couldnt get it to work yesterday (tried both GS1, GS2 with both a Weapon and a DB NPC).
|
copylevel("path/to/level","new/path/to/copy")
new/path/to/copy has to be a different folder than the first ie: copylevel("levels/onlinestartlocal.graal","levels/backup/onlinestartlocal.graal"); |
Somewhere in the serversided part of the NPC System/Main:
NPC Code: also tried NPC Code: Nothing worked, and the "Copying level.." text is shown on RC. |
*bump*
Still not working for me.. |
do you have savelevels=true in your serveroptions?
|
savelevels=false
Changing to true.. now let me test if it works! EDIT: Didnt work.. |
does the generated/ folder exist? That might be one of the reasons it's not working.
|
savelevels=true is only for updateboard2.
There has to be a file already in the folder you are copying to. |
Quote:
|
Quote:
|
Quote:
|
Quote:
|
| All times are GMT +2. The time now is 03:30 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.