• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

Znote scripts


How do I use these?
e.g
<?php $s = 5; $totalQuests = 1; $i = 0; foreach ($quests as $quest) { $i++; $percent =round((int)$quest['count'] / $totalQuests * 100, 2); ?>
$s = 5; = what does it stand for?

$totalQuests = 1; = Total quests = 1?
foreach ($quests as $quest)
Do i need to add something in my db?

Where do I add my quests/addons storage ids or do I have to change them?
e.g
citizen 100, 1
mage 100, 2
hunter 100,3 and so on.
 
How do I use these?
e.g
<?php $s = 5; $totalQuests = 1; $i = 0; foreach ($quests as $quest) { $i++; $percent =round((int)$quest['count'] / $totalQuests * 100, 2); ?>
$s = 5; = what does it stand for?

$totalQuests = 1; = Total quests = 1?
foreach ($quests as $quest)
Do i need to add something in my db?

Where do I add my quests/addons storage ids or do I have to change them?
e.g
citizen 100, 1
mage 100, 2
hunter 100,3 and so on.
$s is used for the progress bar's width and you add storage keys inside
Code:
`key` IN (1, 2, 3)
Don't forget to change totalQuests (in this case it would be $totalQuests = 3)
 
Back
Top