Now, sscanf did everything:
Think of sscanf as a for input validation:
Master Guide to sscanf in SA-MP: Efficient Data Parsing for Pawn
You need the sscanf plugin and include (originally by Y-Less). Place sscanf2.inc in your pawno/include folder.
The format string contains format specifiers, which are similar to those used in printf . Here are some common format specifiers:
By using sscanf , you can easily parse input strings and extract data in a flexible and efficient way.