Page 1 of 1

[PLUGIN] Changing ban syntax

Posted: 01 Sep 2013, 03:44
by telemus
AMX_BAN_SYNTAX = amx_ban <Time in Minutes> <SteamID | Nickname> <Reason>
Currently, this is the working ban syntax for me ..


I noticed this in the lang folder, and I would love for it to be this syntax.
AMX_BAN_SYNTAX_NEW = amx_ban <SteamID | Nickname> <Time in Minutes> <Reason>

Can you tell me how to make this possible to achieve?

Re: Ban syntax

Posted: 01 Sep 2013, 03:55
by telemus
Ooops, I'm sorry I posted this in the wrong area.. can I move it?

Re: Ban syntax

Posted: 01 Sep 2013, 18:01
by telemus
Is this not possible to change the syntax of the ban?

Re: Ban syntax

Posted: 01 Sep 2013, 20:33
by YamiKaitou
File cmdBan.inl

Code: Select all

parse(text, ban_length, 49, g_ident, 49, g_choiceReason[id], charsmax(g_choiceReason[]))

:arrow:

Code: Select all

parse(text, g_ident, 49, ban_length, 49, g_choiceReason[id], charsmax(g_choiceReason[]))

Re: Ban syntax

Posted: 02 Sep 2013, 02:01
by telemus
thank you for helping me Yami