Issue with kicking players from an event
#8

Quote:
Originally Posted by NeXoR
View Post
I had a similar problem which I posted on the forums aswell, listen up what you gotta do.
You need an option string where you store the option, and then store the rest of the given text back to the params variable, IE:
PHP Code:
new option[10];
sscanf(params"s[10]s[128]"optionparams);
if(!
strcmp(option"kick"true))
{
sscanf(params"u"id);

The string size on the first sscanf is 128 because it is the maximum length of an input text, so params without the options could never ever be higher than the params with the option, logically.
That doesn't work either, sorry.
Reply


Messages In This Thread
Issue with kicking players from an event - by FunnyBear - 10.12.2016, 17:30
Re: Issue with kicking players from an event - by iLearner - 10.12.2016, 18:33
Re: Issue with kicking players from an event - by Hansrutger - 10.12.2016, 19:28
Re: Issue with kicking players from an event - by FunnyBear - 10.12.2016, 20:32
Re: Issue with kicking players from an event - by Hansrutger - 10.12.2016, 21:01
Re: Issue with kicking players from an event - by NeXoR - 10.12.2016, 21:08
Re: Issue with kicking players from an event - by FunnyBear - 10.12.2016, 21:12
Re: Issue with kicking players from an event - by FunnyBear - 10.12.2016, 21:16
Re: Issue with kicking players from an event - by Yaa - 10.12.2016, 21:27
Re: Issue with kicking players from an event - by FunnyBear - 10.12.2016, 21:31

Forum Jump:


Users browsing this thread: 2 Guest(s)