![]() |
Level Restriction Script
1 Attachment(s)
Here is a slightly modified version of a script that I'm using for a restricted store house for the Crescent Pirates on Kingdoms Debug. It probably isn't perfect so I'd be grateful for any comments that could help me improve it.
Installation To get the script working correctly a few things will have to be edited with the script.
Script Commands Commands for admins:
PHP Code:
|
Nice. The only thing I notice is the inconsistent formatting; two spaces is the standard indent for Gscript.
Besides that, it looks good. Might be better to use a DB NPC instead of a server flag, but there's not a real advantage to that, mostly just personal preference. I know that's probably not possible with the restrictions you work with on Kingdoms anyway ^^. Nice work. |
Not very practical... it would be better with a level restriction which has its own admins and people that can enter. (individual serverr level flags)
Also, whats the 2nd param do? =o HTML Code:
{{"cyan3",true}};" |
Quote:
Quote:
|
Quote:
|
I don't know if this makes it any easier to read or not, but here's an alternative solution to using the for loops:
PHP Code:
|
| All times are GMT +2. The time now is 03:48 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.