Also hab folgendes problem user können mit einen comand die neuz abschmiren lassen !8888888888889 <<< mit diesem comand!! bitte helft mir!!
Und noch einmal...Quote:
DialogMsg.cpp
Dödel wenn dann:Quote:
DialogMsg.cpp
if( scanner.Token == "!" )
{
int nEmoticonIdx = scanner.GetNumber();
if( nEmoticonIdx < 0 && nEmoticonIdx > MAX_EMOTICON_NUM )
nEmoticonIdx = MAX_EMOTICON_NUM;
AddEmoticon( pObj, nEmoticonIdx );
return;
}
Laber?!? So wie ich es hab geht es auch ;)Quote:
Dödel wenn dann:
Code:if( scanner.Token == "!" ) { int nEmoticonIdx = scanner.GetNumber(); if( nEmoticonIdx < 0 && nEmoticonIdx > MAX_EMOTICON_NUM ) nEmoticonIdx = MAX_EMOTICON_NUM; AddEmoticon( pObj, nEmoticonIdx ); return; }
danke Pixelfehler deins hatt gefunkt!!Quote:
DialogMsg.cpp