Redefine/Override methods?
Hi guys. A simple question here.
Does PAWN/AMX allow to redefine methods? I mean, supose i'm using admincmd.amxx in my server, and i do a plugin foo.amxx where i register a console command called amx_kick PHP Code:
PHP Code:
Thanks |
Re: Redefine/Override methods?
It will use any that do not get blocked. The call order is based on the order the plugins are registered, ie placed in the plugins.ini file. So, if you want to make sure yours is called, put it above any other plugin that registers the same command(s).
|
Re: Redefine/Override methods?
so if i place foo.amxx before admincmd.amxx in plugins.ini it will call to cmdKick of foo.amxx and then to cmdKick of admincmd.amxx?
thanks for the reply! |
Re: Redefine/Override methods?
Quote:
|
Re: Redefine/Override methods?
Quote:
|
| All times are GMT -4. The time now is 07:17. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.