Thread: Boots
View Single Post
  #1  
Old 11-16-2008, 10:45 PM
Pelikano Pelikano is offline
Registered User
Pelikano's Avatar
Join Date: Oct 2008
Posts: 1,133
Pelikano has a little shameless behaviour in the past
Boots

Hello, once again I need some help.
I am trying to script my own boots.. but it doesn't work for some reason:

NPC Code:
//#CLIENTSIDE
function onWeaponFired() {
if (this.disabled == false) {
disabledefmovement();
this.disabled = true;
setTimer(0.05);
}elseif (this.disabled = true)
enabledefmovement();
setTimer(0);
}
function onTimeout() {
for (i = 0; i < 4; i++) {
if (keydown(i)) {
player.dir = i;
player.x += vecx(player.dir);
player.y += vecy(player.dir);
}
}
setTimer(0.05);
}



Any idea why?
Reply With Quote