13.06.2016, 12:50
I have a command which requires you to select an option and then asks you to enter a text.
/sign put [text]
This is my sscanf
if(sscanf(params, "s[32]s[128]", option, text))
option should be 'put'
text should be whatever is in [text]
But it doesn't work. Why? What specifiers should I be using?
Thanks.
/sign put [text]
This is my sscanf
if(sscanf(params, "s[32]s[128]", option, text))
option should be 'put'
text should be whatever is in [text]
But it doesn't work. Why? What specifiers should I be using?
Thanks.