Graal Forums  

Go Back   Graal Forums > Development Forums > Gani Construction
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 05-08-2006, 01:44 PM
xAndrewx xAndrewx is offline
Registered User
xAndrewx's Avatar
Join Date: Sep 2004
Posts: 5,260
xAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud of
Light effects

I don't quite understand why gani's won't check for the light effects enabled featured
PHP Code:
SCRIPT
function onPlayerEnters()
{
  if (
lighteffectsenabled)
  {
    if (
client.options_disabledaynight == NULL)
    {
      if (
playerdir == 0this.lightx 5;
      if (
playerdir == 1this.lightx 6;
      if (
playerdir == 3this.lightx 4;
      if (
playerdir == 2this.lightx 5;
      
onTimeout();
    }
  }
    else  
//I added this just as a ''futher-more'' check
  
{
    
hideimgs(200202);
  }
}
function 
onTimeout()
{
  if (
hours in |07| || hours in |1824|) 
  {
    
showimg(200"era_lamplight_1.png"playerx this.lightxplayery 10);
    
changeimgcolors(2000.9760.9880.7050.25);
    
changeimgvis(2003);
    
changeimgzoom(2001);
    
showimg(201"light2.png"playerx this.lightx 2.5playery 3);
    
changeimgcolors(2010.9760.9880.7050.55);
    
changeimgvis(2013);
    
changeimgzoom(2014);
  } 
   else
  {
    
hideimgs(200202);
  }
  
setTimer(10);
}
SCRIPTEND 
If anyone knows please help, thanks.

Ahh, I found the problem, before I posted this it was in GS1, swapping it all over the GS2 managed to fix the problem. Thanks
Reply With Quote
Reply


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 Off
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 04:06 PM.


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