![]() |
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 Any idea why? |
Quote:
PHP Code:
|
To reiterate your mistake, you omitted a necessary bracket at the end of onWeaponFired().
|
Quote:
Problem 1: On line 6, you only have "=" when the operator should be "==". I figure this is more of a typo than a mistake though, since you did fine at the top. Problem 2: You do not set "this.disabled" back to false after line 6. You're going to need to add another line of code to set this variable, which also means you're going to need brackets to support the new number of operations (more than one, which is currently only the function "enabledefmovement();") Other than that, it seems fine. You might also want to replace the animation "push" with "walk" so that you don't start pushing the wall as you run. |
Thanks for all your help guys!
It works fine now.. I've also added some stuff :D NPC Code://#CLIENTSIDE As I said above it works fine, thanks :D |
for future notice pelikano, use PHP tags :)
|
| All times are GMT +2. The time now is 08:01 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.