Thread: Glow effect
View Single Post
  #1  
Old 07-09-2011, 05:05 AM
pez307 pez307 is offline
ImThatGuy
pez307's Avatar
Join Date: Apr 2007
Posts: 58
pez307 is an unknown quantity at this point
Glow effect

Okay so, i took this script from chris posted on forums, and i've added it, yet when players log off the light remains on the ground, how would i prevent that?

Script:
PHP Code:
//#CLIENTSIDE
function onCreated() {
  
onTimeOut();
}

function 
onTimeOut() {

  for (
temp.pl players) {
    
showimg(200 pl.id"light2.png"pl.2.5pl.2.0);
    
changeimgvis(200 pl.id0);
    
changeimgcolors(200 pl.id188.8);
  }

  
setTimer(0.05);

__________________
Cm*
Reply With Quote