![]() |
haulting default sword
Was wondering if there is a way to if the player hits s, and a certain condition isn't met, lets just say a var isnt true, it does nothing, but once it is true, they can hit default style?
|
You can stop the player from visually seeing their sword slashing, and can maybe stop it from damaging other players, but processes like bush cutting will be accomplished before whatever script you have running will be able to stop it. I also don't think you can stop the player from pausing for a moment, but you may.
|
Can't you just disable weapons and use a manual key check for the weapon firing instead?
|
Kinda
You could do a timeout but it's not a good choice. For example HTML Code:
function onCreated() { |
Quote:
|
Quote:
I know there was a thread on manual key checks for firing weapons, but cant seem to find it for some reason now. Anyone know what I'm talking about? |
enable/disableweapons doesnt even seem to bother working in this case. -_-
|
Quote:
|
| All times are GMT +2. The time now is 06:12 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.