Graal Forums  

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

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #15  
Old 08-24-2011, 02:53 AM
Astram Astram is offline
Era iPhone PR
Astram's Avatar
Join Date: Aug 2010
Posts: 324
Astram can only hope to improve
Send a message via AIM to Astram
I'm pretty new to scripting, and this might be a terrible idea but can't you do this.
Add this to allplayers
PHP Code:
function onActionServerSide() {
  
clientr.level == player.level.name;
}
//#CLIENTSIDE
function onPlayerEnters() {
  
triggerserver"gui"this.name);

And for the allplayers level thing
PHP Code:
for (temp.allplayers) {
  echo(
p.clientr.level);

__________________
-Toad
The worlds biggest Toad fan...
Era iPhone FTW!


Reply With Quote
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 11:08 AM.


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