(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