TheDavenia
Member
Posts: 223
Threads: 38
Joined: Jun 2011
Reputation:
0
|
RE: Need help on a code!
(11-05-2011, 05:27 AM)flamez3 Wrote: Void OnStart()
{
SetEntityPlayerInteractCallback("nameofitem", "nameoffunction", false);
}
void nameoffunction(string &in asEntity)
{
SetEntityActive("nameofentitytodisable/enable", true); \\true means enable, false means disable
} Yeah, only needed to know the VoidOnstart though
(11-05-2011, 05:28 AM)TheDavenia Wrote: (11-05-2011, 05:27 AM)flamez3 Wrote: Void OnStart()
{
SetEntityPlayerInteractCallback("nameofitem", "nameoffunction", false);
}
void nameoffunction(string &in asEntity)
{
SetEntityActive("nameofentitytodisable/enable", true); \\true means enable, false means disable
} Yeah, only needed to know the VoidOnstart though Worked thanks
Current Project: Nightmare's End(Project Director, Scripter, boss >:D)
(This post was last modified: 11-05-2011, 06:10 AM by TheDavenia.)
|
|
11-05-2011, 05:28 AM |
|