Quote:
Originally Posted by Chompy
PHP Code:
function onCreated()
setTimer(0.05);
function onTimeout() {
if (player.ani == "sword") {
setani("punch", NULL);
freezeplayer(0.24);
}
setTimer(0.05);
}
That would play the 'punch' gani instead of 'sword',
and still crush brushes. If you change the setTimer(0.05)
to something else, it will play sword in a very short moment,
then play the wanted gani, so .05 would be best.
|
What the hell. I hope you know that theres still the replaceani command?Oo