View Single Post
  #8  
Old 04-30-2007, 01:20 AM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Quote:
Originally Posted by Chompy View Post
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.
__________________
Reply With Quote