Two string parameters(sscanf)
#4

You could use the 'p' specifier
Example:
sscanf(params,"p<.>s[24]s[3]",name,tag)

But in this case, the player has to use
/createfaction [name].[tag]

Anything that comes after the '.' will be considered as the tag. You can change the dot to any other special characters too.
Reply


Messages In This Thread
Two string parameters(sscanf) - by Metroplex - 04.11.2014, 07:09
Re: Two string parameters(sscanf) - by DavidBilla - 04.11.2014, 07:20
Re: Two string parameters(sscanf) - by Metroplex - 04.11.2014, 07:23
Re: Two string parameters(sscanf) - by DavidBilla - 04.11.2014, 07:46
Re: Two string parameters(sscanf) - by Metroplex - 04.11.2014, 08:01
Re: Two string parameters(sscanf) - by DavidBilla - 04.11.2014, 08:03
Re: Two string parameters(sscanf) - by Metroplex - 04.11.2014, 08:10

Forum Jump:


Users browsing this thread: 2 Guest(s)