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
Need help on a code!
flamez3 Offline
Posting Freak

Posts: 1,281
Threads: 48
Joined: Apr 2011
Reputation: 57
#2
RE: Need help on a code!

Void OnStart()
{
SetEntityPlayerInteractCallback("nameofitem", "nameoffunction", false);
}


void nameoffunction(string &in asEntity)
{
SetEntityActive("nameofentitytodisable/enable", true); \\true means enable, false means disable
}


(This post was last modified: 11-05-2011, 05:27 AM by flamez3.)
11-05-2011, 05:27 AM
Find


Messages In This Thread
Need help on a code! - by TheDavenia - 11-05-2011, 05:19 AM
RE: Need help on a code! - by flamez3 - 11-05-2011, 05:27 AM
RE: Need help on a code! - by TheDavenia - 11-05-2011, 05:28 AM



Users browsing this thread: 1 Guest(s)