Thread: script help ;D
View Single Post
  #2  
Old 07-14-2007, 04:26 AM
JkWhoSaysNi JkWhoSaysNi is offline
Ruler of the graalaxy
Join Date: Feb 2005
Location: Great Britain
Posts: 488
JkWhoSaysNi is on a distinguished road
Send a message via ICQ to JkWhoSaysNi
Because you're using = as comparison, you have 2 onCreated's
Also, your script is 10x longer than it needs to be

edit: Why are you even using a timeout?

PHP Code:
function onCreated(){
this.on false;
}
function 
onWeaponFired(){
this.on = !this.on;
player.alpha = (this.on) ? 50 100;

__________________

Coming soon (Hopefully:P)
Reply With Quote