Quote:
Originally Posted by napo_p2p
Replacing the ani is a good start, but then you would need to use hidesword(). Keep in mind, though, that hidesword() takes a parameter (the number of seconds to hide the sword).
Try something like:
Every time the sword button is held down.
|
Would I use that in a timeout or when the player tries to activate the sword?
So, say I tried to do this:
PHP Code:
//#CLIENTSIDE
function onCreated()
{
onTimeOut();
setTimer( 0.05 );
}
function onTimeOut()
{
hideSword( 1 );
replaceAni( "sword", "grab" );
setTimer( 0.05 );
}
This would completely remove the sword? Also, frag, I never saw anything about a Control NPC flag disabling the sword o.o. Shed some light, please?