well i was making smthing very Good which is Changing the Bound Cps Into Cps So i made it through Input panel and the player Enters the number of cps he wanna get inside the panel then get it ..anyways The Problem is that the Input can contains String So It Creates Error in Console Which leads to lag in the case when a Dumbass player Write his name or any Words So i'd like to make it like that when i enter String value including words or even letters it says to him Stop writting letters DumbAss and heres Example of my Code
is there Any easier way Than making new list containing Chars Then Calling the list Using Contain method ???
Code:
else if (npcRequest.Input.Contains(what should i write here))
{
dialog.Text(" Are You Fucken Dumb Write Just Numebrs ");
dialog.Option("Sorry", 255);
dialog.Send();
}