View Single Post
  #1  
Old 02-24-2015, 07:49 AM
Elk Elk is offline
Sr Marketing Strategist
Elk's Avatar
Join Date: Nov 2005
Location: Deerland
Posts: 3,829
Elk has a brilliant futureElk has a brilliant futureElk has a brilliant futureElk has a brilliant futureElk has a brilliant futureElk has a brilliant futureElk has a brilliant future
Send a message via ICQ to Elk Send a message via AIM to Elk Send a message via MSN to Elk Send a message via Yahoo to Elk
textdraw fade in screencenter

Okay so I tried making a script that would fade in a text only once if you entered the specified area and after a short while it would automatically fade out without fading in again unless you enter the specified field again, but I guess its too much for me

Could someone help me? I'm really bad with timeout stuff x.x

HTML Code:
//#CLIENTSIDE
function onCreated(){
  dontblock();
  layer = 2;
  onTimeout();
}
function onTimeout(){
  onCheckScreen();
  setTimer(.05);
}
function onCheckScreen() {
  if (player.x in |this.x-10,this.x+10| && player.y in |this.y-5,this.y+5|) {
    temp.fimg = findimg(375);
    fimg.x = screenwidth / 2;
    fimg.y = screenheight / 2 - 180;
    fimg.text = "Fancy Text Here";
    fimg.layer = 8;
    fimg.zoom = 2;
    fimg.style = "bc";
    fimg.textshadow = true;
    fimg.shadowcolor = {0,0,0};
  }
  else hideimg(375);
}
__________________
iEra IGN: *Elk (Darkshire)
iCla. IGN: *Elk (Darkshire)
iZone IGN: *Elk (Darkshire)





Last edited by Elk; 02-24-2015 at 08:11 AM..
Reply With Quote