Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » delay on pm script on join
Re: delay on pm script on join [message #207021 is a reply to message #206937] Fri, 07 July 2006 16:06 Go to previous message
sycar is currently offline  sycar
Messages: 144
Registered: February 2006
Location: Reading, UK
Karma:
Recruit
ok tried a different approach... on join the client gets sent a pm with the word !join. Of course this doesnt show up on the clients screen.

ive then used the hosthook to send a welcome message to the user when it detects that !join has been said but the hosthook isnt working.

Any ideas why

buffymaniack

void Host_Hook(int PlayerID,int Type,const char *Message) {
	if (Type == 2)
	{
		if (stricmp(Message,"!join") == 0)
		{
			char message[1000];
			sprintf(message,"ppage %d %s",PlayerID,"Welcome Message");
			Console_Input(message);
		}
			
	}
}
 
Read Message
Read Message
Previous Topic: Cinematic Eye candy
Next Topic: I can now do custom dialogs!!!!!
Goto Forum:
  


Current Time: Tue Jan 21 22:12:22 MST 2025

Total time taken to generate the page: 0.00708 seconds