![]() |
Second-Sub-Folder? (also say();)
Hi,
when I do something lik PHP Code:
but for PHP Code:
and second: I made a sign and tried to do PHP Code:
|
For the loadfolder() part, try using 1 instead of 0
And for the say2(), what are you trying to do? Make the sign say "0"? |
For the sign part, 0 is considered as nothing at all, thus will be treated as such. If you want it to show 0, treat it as a string ("0").
|
May I remind you that say(index) will show the sign text of a level sign with the specified index? You should use say2(string) instead.
|
It looks like he wanted to show a level sign by index to me.
|
Quote:
loadfolder still doesn't work, even with 1 instead of 0 |
Ah, I didn't pay attention to if it was say or say2, considering I've practically only used the latter. Ever.
|
Quote:
|
loadfolder("path/to/file/*", true); should work
|
Quote:
|
Quote:
So, you should be using: PHP Code:
You don't need to put scriptfiles or your servername, when using loadfolder() on clientside, I believe. Correct me if I'm wrong, somebody who knows. |
Quote:
|
Quote:
|
Quote:
|
Quote:
Why is it such a big deal that they're saved in sub-folders? |
Hm well then I'll go without subfolders, though that will get messy with 60+ files xD
|
Quote:
Are folder names really that important to you? |
Quote:
|
Quote:
|
Quote:
well atleast that shares its data if the script is used on 2 servs |
Can always use an IRC channel to synchronize data in between servers.
|
Well its not between servers, more like a script should be able to access teh same data (saved on the players pc) from several servers
|
Well, I don't really have any experience with file manipulation clientsided, but if that doesn't work out as you want you can always use requestURL to send/load personalized data from a webserver (assuming you have access to one).
|
| All times are GMT +2. The time now is 09:37 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.