Quote:
Originally Posted by Chompy
If you have a custom fighting system, and using a custom keydown() check on s button it won't destroy the bush, however:
If you make something like
PHP Code:
function onCreated()
setTimer(0.05);
function onTimeout()
{
if (player.ani == "sword") {
setani("punch", "");
freezeplayer(0.255);
}
setTimer(0.05);
}
Only thing is that you have to make sure weapons don't get disabled through
disableweapons() etc..
|
Problem with not disabling weapons is if you use a custom firing system, it will get all messed up.