![]() |
Newbie Script to fix
I know that this will be the ultimate challenge for you! Who am I kidding? This weapon sort of cuts out at random times and I have to reactivate it, any idea why?
if (playerenters){toweapons Wall Hopper;} if (weaponfired){ while (keydown(1)){ sleep 0.09; playerx-=1; } while (keydown(0)){ sleep 0.09; playery-=1; } while (keydown(2)){ sleep 0.09; playery+=1; } while (keydown(3)){ sleep 0.09; playerx+=1; } } Any help would be appreciated. |
i suggest using things like this.mode=0 / 1. 0 being off and 1 being on.
|
Ah, I haven't got that far in the tutorial yet *blows dust off npcprogramming.doc*:D
|
Thanks, I'll try and decipher that now, I think I understand it
|
use timeout of .1 and this.mode of 1 while you want to test the keys
and have the keydowns in the timeout |
Quote:
|
| All times are GMT +2. The time now is 03:18 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.