Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » page poke system
page poke system [message #468239] Thu, 31 May 2012 10:22 Go to previous message
Distrbd21 is currently offline  Distrbd21
Messages: 743
Registered: September 2008
Karma:
Colonel

So say I put this on a switch and I set the team to GDI.

What am I missing to only page GDI the msg?


void DSG_Poke_PPAGE::Poked(GameObject *obj, GameObject *poker)
{
	if (dopage)
	{
		int x;
		x = Get_Int_Parameter("Team");
		if (CheckPlayerType(poker,x))
		if (_stricmp(Get_Parameter("PPage"),"0") != 0)
		{
			char p[250];
			sprintf(p,"ppage %d %s",Get_Player_ID(poker),Get_Parameter("PPage"));
			Console_Input(p);
		}
		dopage = false;
		Commands->Start_Timer(obj,this,5.0f,150);
		Commands->Enable_HUD_Pokable_Indicator(obj, false);
	}
}


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: Thu Aug 22 11:48:10 MST 2024

Total time taken to generate the page: 0.00728 seconds