Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » page poke system
Re: page poke system [message #468454 is a reply to message #468239] Tue, 05 June 2012 15:06 Go to previous messageGo to previous message
Distrbd21 is currently offline  Distrbd21
Messages: 743
Registered: September 2008
Karma:
Colonel

OK I redid it, now it only works for that team, but when I poke it as nod, gdi can see the message that is suppose to be my team only.

void DSG_Poke_Page::Poked(GameObject *obj,GameObject *poker)
{
	int paraTeam = Get_Int_Parameter("Team");
	if (Get_Player_Type(poker) == paraTeam)
	{
		char ppage[256];
		sprintf(ppage,"%s",Get_Parameter("PPage"));
		Send_Message(Get_Int_Parameter("Red"),Get_Int_Parameter("Green"),Get_Int_Parameter("Blue"),ppage);
		Commands->Create_2D_WAV_Sound(Get_Parameter("WavSound"));
    }
}


Live Your Life Not Some one Else's.| Sharing Is Caring

http://dsgaming.us/distrbd21/Distrbd21%20siggy.png

Cookie Jar

Suicide
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: 4.0 doesn't support some stuff that 3.4 did??
Next Topic: anyone know where I can get the following textures?
Goto Forum:
  


Current Time: Mon Sep 30 21:09:07 MST 2024

Total time taken to generate the page: 0.00644 seconds