i tried many ways, but all i got is a blank page
i tried:
Code:
www.google.com
http://google.com
google.com
none of those URL's works
PHP Code:
// VGUI_TYPE (1 = special, 2 = url, )
// Sends a VGUI menu to player.
// You must free MRecipientFilter object your self
bool VGUI(LIB_MRECIPIENTFILTER_CLASS &mrf, int VGUI_TYPE, const char *title, const char *text, ...)
{
if(!mrf.GetRecipientCount()) return false;
int vguiIndex = GetMsgNum("VGUIMenu");
if(vguiIndex == -1) return false;
bf_write *pWrite = VAR_IFACE_ENGINE->UserMessageBegin((IRecipientFilter *) &mrf, vguiIndex);
if(!pWrite) return false;
MULTIARGS(text);
pWrite->WriteString("info"); // the HUD message itself
pWrite->WriteByte(1);
pWrite->WriteByte(3); // I don't know yet the purpose of this byte, it can be 1 or 0
pWrite->WriteString("type"); // the HUD message itself
pWrite->WriteString(LIB_STRING_CLASS::StrFormat("%i", VGUI_TYPE)); // the HUD message itself
pWrite->WriteString("title"); // the HUD message itself
pWrite->WriteString(title); // the HUD message itself
pWrite->WriteString("msg"); // the HUD message itself
pWrite->WriteString(string); // the HUD message itself
VAR_IFACE_ENGINE->MessageEnd();
return true;
}
on last CSS, is it broken?
thanks