So I have this code
DialogResponse..
And it's not working.. How come ?
It doesn't send that SendClientMessage with "test" even if I insert any of those letters "#!#%?&$(/& etc
Code:
ValidateWord(const string[]) {
for( ; ; ) {
switch(string[0]) {
case 'a'..'z', '0'..'9', 'A'..'Z': {
#emit load.s.pri string
#emit add.c 4
#emit stor.s.pri string
}
case EOS: {
return true;
}
default: {
break;
}
}
}
return false;
}
DialogResponse..
Code:
else if (ValidateWord(inputtext)) // bad characters
{
// Test text here..
}
And it's not working.. How come ?
It doesn't send that SendClientMessage with "test" even if I insert any of those letters "#!#%?&$(/& etc
Aucun commentaire:
Enregistrer un commentaire