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...