Issue with kicking players from an event
#2

PHP Code:
if(!strcmp(params"kick"true))
    {
        if( 
sscanf(params"su"paramsid))
            return 
SendUsageErrorplayerid"/toggle [Kick] [ID]" ); 
PHP Code:
if(!strcmp(params"kick"true))
    {
        if( 
sscanf(params"su"id))
            return 
SendUsageErrorplayerid"/toggle [ID]" ); 
Since you're already checking if param is kick, you have to check the id under the command, i think so, at least.

And where did /toggle come from? isnt it supposed to be /event kick id
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)