Posts: 150
Threads: 24
Joined: Nov 2011
Reputation:
0
You can use strtok as found "https://sampwiki.blast.hk/wiki/Strtok"
Please indent your work in future, it makes it extremely difficult to read otherwise.
I also recommend you use something other than strcmp to process your commands.