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);
}
}
Cookie Jar<glome> Who stole the cookie from the cookie jar?!
<content> glome stole the cookie from the cookie jar!
<glome> Who me?!
<content> Yes you!
<glome> Couldn't be!
<content> Then WHO?!!
<glome> Woody stole the cookie from the cookie jar!
*** glome has been kicked by DrWoody (fuck you i didn't touch the motherfucking cookie, bitch