[PLUGIN] Changing ban syntax

Post your modifications and addons here.
Example, Addons to CMS-sites that shows the latest bans and such.
Locked
telemus
Posts: 4
Joined: 27 Aug 2013, 03:35

[PLUGIN] Changing ban syntax

Post 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?
telemus
Posts: 4
Joined: 27 Aug 2013, 03:35

Re: Ban syntax

Post by telemus »

Ooops, I'm sorry I posted this in the wrong area.. can I move it?
telemus
Posts: 4
Joined: 27 Aug 2013, 03:35

Re: Ban syntax

Post by telemus »

Is this not possible to change the syntax of the ban?
YamiKaitou
Amxbans Developer
Posts: 257
Joined: 17 Apr 2013, 14:09

Re: Ban syntax

Post 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[]))
Retired, don't bug me
telemus
Posts: 4
Joined: 27 Aug 2013, 03:35

Re: Ban syntax

Post by telemus »

thank you for helping me Yami
Locked