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
Script Help destorying an entity
flamez3 Offline
Posting Freak

Posts: 1,281
Threads: 48
Joined: Apr 2011
Reputation: 57
#2
RE: destorying an entity

void OnStart()
{
AddUseItemCallback("", "acid", "padlock_01", BreakPadlock, true);
}


void BreakPadlock(string &in asItem, string &in asEntity)
{
SetPropHealth("padlock_01", 0.0f);
}




Change names accordingly

04-01-2012, 04:58 AM
Find


Messages In This Thread
destorying an entity - by zombiehacker595 - 04-01-2012, 04:53 AM
RE: destorying an entity - by flamez3 - 04-01-2012, 04:58 AM
RE: destorying an entity - by zombiehacker595 - 04-01-2012, 05:25 AM
RE: destorying an entity - by flamez3 - 04-01-2012, 06:12 AM
RE: destorying an entity - by zombiehacker595 - 04-01-2012, 08:49 AM



Users browsing this thread: 1 Guest(s)