Re: is stealth [message #471633 is a reply to message #471583] |
Fri, 13 July 2012 15:47 |
|
Whitedragon
Messages: 832 Registered: February 2003 Location: California
Karma:
|
Colonel |
|
|
Is_Stealth_Enabled was added in beta 5 and is what you want, however it seems to be broken and only works for soldiers. You can try SmartGameObj::Is_Stealth_Enabled instead, except it isn't exported. Try adding the following to your plugin and see if it works.
bool SmartGameObj::Is_Stealth_Enabled()
{
return StealthEnabled;
}
Black-Cell.net
Network Administrator (2003 - )
DragonServ, Renegade's first IRC interface bot
Creator and lead coder (2002 - )
Dragonade, Renegade's first server side modification
Lead coder (2005 - )
[Updated on: Sat, 14 July 2012 03:59] Report message to a moderator
|
|
|