Question about a /fakeban command
#1

I'm making a /fakeban command, where you type /fakeban and then it'll make it look like they got banned to other players.

Код:
	if(strcmp("/fakeban", cmdtext, true) == 0 )
	{
        new
                strs[100],
                xname[24],
                pname[24],
		reason[100];

        format(strs,sizeof(strs),"{AA3333}AdmCmd{FFFF00}: %s was banned by %s, reason %s",pname, xname, reason);
        SendClientMessageToAll(playerid, strs);
        return 1;
	}
I don't get how I could make a way to input the reason. Can anyone offer me some help? I may have wrote this entirely wrong from the get-go, but I don't know. Thanks in advance.
Reply


Messages In This Thread
Question about a /fakeban command - by K9IsGodly - 14.02.2014, 02:05
Re: Question about a /fakeban command - by Flake. - 14.02.2014, 02:08
Re: Question about a /fakeban command - by K9IsGodly - 14.02.2014, 02:10
Re: Question about a /fakeban command - by Yashas - 14.02.2014, 03:25

Forum Jump:


Users browsing this thread: 2 Guest(s)