Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to make a hammer destroy a padlock (or other enteties)
flamez3 Offline
Posting Freak

Posts: 1,281
Threads: 48
Joined: Apr 2011
Reputation: 57
#6
RE: How to make a hammer destroy a padlock (or other enteties)

(12-20-2011, 04:03 PM)Quotentote Wrote: you mean something like that?

PHP Code: (Select All)
    void VOIDNAME (string &in asItemstring &in asEntity)
            {
            
SetEntityActive("BROKENPADLOCK",true);
            
SetEntityActive("PADLOCK",false);
            
RemoveItem("HAMMER");
            } 
Pretty much, maybe add a sound or something?

12-20-2011, 04:12 PM
Find


Messages In This Thread
RE: How to make a hammer destroy a padlock (or other enteties) - by flamez3 - 12-20-2011, 04:12 PM



Users browsing this thread: 1 Guest(s)