View Single Post
  #4  
Old 12-28-2001, 11:13 AM
haunter haunter is offline
Registered User
haunter's Avatar
Join Date: Mar 2001
Posts: 7,989
haunter is on a distinguished road
Quote:
Originally posted by Falcor
keydown must be in a timeout loop (For some strange reason.. I think it should be called just like playerchats is called but who am I to say)

Kinda like this?

-------------------------------------------------------
// NPC made by Shadowless Warrior

if (playerenters) {
toweapons automatic test;
}
if (isweapon) {
timeout=0.5;
}
if (timeout) {
if (keydown(6)) {
putleaps 0,playerx,playery;
}
timeout=0.5;
}

-------------------------------------------

this wont do anything though...
Reply With Quote