View Single Post
  #2  
Old 03-03-2011, 03:54 AM
BboyEatsbacon BboyEatsbacon is offline
The Bacon Man
BboyEatsbacon's Avatar
Join Date: Feb 2011
Location: United States
Posts: 60
BboyEatsbacon will become famous soon enough
Sorry, didn't make it a PHP code last time. Here!
PHP Code:
//#CLIENTSIDE
function onPlayerChats() {
  if (
player.chat == "/hug") {
    
setani("grab""");
    
player.chat "";
  }
  if (
player.chat == "/sit") {
    
setani("sit""");
    
player.chat "";
  }
  if (
player.chat == "/dance") {
    
setani("dance""");
    
player.chat "";
  }

__________________
Reply With Quote