![]() |
staff list
is there a way to check if a player that appears in the playerlist under 'staff'? would be a cool feature, like wearing a staff tag ^^
|
Quote:
|
no?
|
On serverside it's not possible yet, I have added it now though so it will work with the next update of the npcserver.
|
player.isAdmin tends to not work so well. It was to get server optons possible, but then they disabled Client-RC in normal scripts.
|
Quote:
|
PHP Code:
|
player.clientr.isStaff = (player.account in serveroptions.staff.tokenize());
i use that on Zodiac. |
Since dynamic variables are case-sensitive its usually better to keep them lower-case, unless this somehow behaves differently for client flags.
|
Quote:
|
Quote:
|
|
| All times are GMT +2. The time now is 09:58 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.