[PLUGIN] Changing ban syntax

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

[PLUGIN] Changing ban syntax

Postby telemus » 01 Sep 2013, 03:44

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

Postby telemus » 01 Sep 2013, 03:55

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

Postby telemus » 01 Sep 2013, 18:01

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

Postby YamiKaitou » 01 Sep 2013, 20:33

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[]))

telemus
Posts: 4
Joined: 27 Aug 2013, 03:35

Re: Ban syntax

Postby telemus » 02 Sep 2013, 02:01

thank you for helping me Yami


Return to “Modifications and Addons”

Who is online

Users browsing this forum: No registered users and 4 guests