View Single Post
  #7  
Old 04-29-2007, 11:21 PM
Chompy Chompy is offline
¯\(º_o)/¯
Chompy's Avatar
Join Date: Sep 2006
Location: Norway
Posts: 2,815
Chompy is just really niceChompy is just really niceChompy is just really nice
Send a message via MSN to Chompy
Quote:
Originally Posted by Chandler View Post
Which is something I don't want to do
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..
__________________
Reply With Quote