• 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!

Action [Release] VIP System

I have function.lua not functions.lua, any difference? Since it doesn't work for me. I have done everything that I should ;)
 
I have function.lua not functions.lua, any difference? Since it doesn't work for me. I have done everything that I should ;)

1. Check if you are using TFS 0.3.5pl1.
2. First add the system in function.lua (functions.lua = function.lua).
3. Add the scripts in your server.
4. RESTART or RELOAD actions.
 
21:08 Sorry, but only VIP Players can pass here! Buy VIP on the WEB.
When I click the Medal of Honour it says:
welcome.

CONGRATULATIONS! You are now a VIP for 30 days! You can now enter the VIP-area and use unique features!

21:09 Sorry, but only VIP Players can pass here! Buy VIP on the WEB.

(when I right click the medal of honour it is like I have clicked on a book or something like that, It opens like I should be able to write something in it but I can't write anything in it o_O
And the Medal doesn't dissapear. :S

I also get this error:

[18/08/2009 21:13:50] Lua Script Error: [Action Interface]
[18/08/2009 21:13:50] data/actions/scripts/vip.lua:eek:nUse

[18/08/2009 21:13:50] data/lib/function.lua:29: attempt to call global 'setPlayerStorageValue' (a nil value)
[18/08/2009 21:13:50] stack traceback:
[18/08/2009 21:13:50] data/lib/function.lua:29: in function 'doPlayerAddVipDays'
[18/08/2009 21:13:50] data/actions/scripts/vip.lua:11: in function <data/actions/scripts/vip.lua:5>

I really think that I have downloaded a server with alot of errors and bugs :S. Styller Yourots, is it bad?
 
Hey shawak, There is people have vip for the old vip script I got in forgottenl, if i add ur script will it delete all people who already used old vip medal or keep them?
 
Hey shawak, There is people have vip for the old vip script I got in forgottenl, if i add ur script will it delete all people who already used old vip medal or keep them?

If you are my old script with the storage value, no it won't delete vip.
 
When i use it 2 time

gxftbirep2i9th93967n.png


O_0 V?
 
When i use it 2 time

gxftbirep2i9th93967n.png


O_0 V?


&

How to make it working on acc maker?

Code:
				if(is_int($number_of_rows / 2)) { $bgcolor = $config['site']['darkborder']; } else { $bgcolor = $config['site']['lightborder']; } $number_of_rows++;
         		   $main_content .= '<TR BGCOLOR="'.$bgcolor.'"><TD WIDTH=10%>Vip Status:</TD>';
                         $vip = $SQL->query('SELECT * FROM player_storage WHERE player_id = '.$id.' AND `key` = '.$config['site']['show_vip_storage'].';')->fetch();
         		   if($vip == false) {
        		    $main_content .= '<TD><span class="red"><B>NOT VIP</B></TD></TR>';
        		    }
        		    else
       			     {
       		          $main_content .= '<TD><span class="green"><B>VIP</B></TD></TR>';
          		  }

Fixed, try again.
 
Back
Top