Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Stealth command help
Re: Stealth command help [message #408011 is a reply to message #408010] Thu, 22 October 2009 13:27 Go to previous messageGo to previous message
Hubba is currently offline  Hubba
Messages: 40
Registered: October 2009
Karma:
Recruit
reborn wrote on Thu, 22 October 2009 15:19

You would need to post your code, what I posted should work.

You may have added the code in the wrong place or something :-/



I added the join code to "void Player_Join_Hook(int i,const char *Nick)"

Added the level_loaded code to "void Level_Loaded()"

"bool IsPlayerStealth[128]; // global array" is in global scope.

class Hubba_Stealth : public ScriptImpClass {
void  Created(GameObject *obj);
void Killed(GameObject *obj,GameObject *shooter);
};

added that to gmmain.h

And the rest should be fine. I'm pretty sure everyting else is right but is the join code in right place?

[Updated on: Thu, 22 October 2009 13:28]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: I need of a modified scripts.dll
Next Topic: Level Edit Problem
Goto Forum:
  


Current Time: Sat Dec 21 19:29:02 MST 2024

Total time taken to generate the page: 0.01286 seconds