Hi all.
For some reason this piece of code forces my mod crash! I don't have a clue of
what's going rong.
char *m_pTextUser = "";
char *m_pTextPass = "";
int nLena = m_pUser->GetTextLength() + 1;
int nLenb = m_pPassword->GetTextLength() + 1;
m_pUser->SetText("terrorcell");
m_pUser->GetText(m_pTextUser, nLena);// m_pUser is a vgui::TextEntry
m_pPassword->GetText(m_pTextPass, nLenb);// m_pPassword is a
vgui::TextEntry
Msg(m_pTextUser);
Msg(m_pTextPass);
I have no compile error,s / warnings.
Thanks in advance
_________________________________________________________________
Hebben jij en je vrienden leuke foto's van jullie feestje? Maak een groepsalbum
en geniet nog extra na.
http://www.microsoft.com/belux/nl/windows/windowslive/products/photos.aspx
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders