25.03.2016, 17:48
I am stocked on a function, that get always bug when i try to test and script it.
A function that detects the numbers in a string, on OnPlayerText, main chat.
If the player input in the chat-text (string) more than 5 numbers the chat return 0;, also if numbers are separate between spaces or other symbols.
How can i implement this idea? Any helps?
Thanks.
+ REP to all helpers.
A function that detects the numbers in a string, on OnPlayerText, main chat.
If the player input in the chat-text (string) more than 5 numbers the chat return 0;, also if numbers are separate between spaces or other symbols.
How can i implement this idea? Any helps?
Thanks.
+ REP to all helpers.