Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 01-08-2011, 08:17 PM
callimuc callimuc is offline
callimuc's Avatar
Join Date: Nov 2010
Location: Germany
Posts: 1,015
callimuc is a splendid one to beholdcallimuc is a splendid one to beholdcallimuc is a splendid one to beholdcallimuc is a splendid one to beholdcallimuc is a splendid one to behold
check if player is staff

hey i wanted to ask if there is such a command that checks if a player is staff written in the server options (so i don´t use like
PHP Code:
if (player.guild == "Owner") {
blabla

since i think it would make the script too long to add all staff)

i hope there is such a command since i thought i have already seen it somewhere but could find it. it was like:
PHP Code:
function onCreated() {
  
is.staff();
}
function 
onis.staff() {
  
//here the script ´looked´ up in the serverv options
  //if the player is a staff member;


i hope i was clear enough what exactly i need

-callimuc
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 05:37 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.