27.12.2010, 19:22
I'm trying to make an efficient /ooc command but right now, I'm stuck using strtok, and with this, it cuts off the first word of whatever you type.
I want to use sscanf but I can't figure out how to make it work where its independent of what they type. For example, if I make it
but the first character they type in is a number, it wont work, and I don't want to limit them to only starting with letters.
Thanks in advance for help, feel free to ask for any clarifications, I could have just rambled uncontrollably
I want to use sscanf but I can't figure out how to make it work where its independent of what they type. For example, if I make it
pawn Code:
sscanf(params, "s", chat)
Thanks in advance for help, feel free to ask for any clarifications, I could have just rambled uncontrollably