Raised This Month: $248 Target: $400

Override native

Post New Thread Reply   
Thread Tools Display Modes
Author Message
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 09-07-2020 , 11:13   Override native
Reply With Quote #1

Hello, suppose I've a main plugin where natives are registered. Is there any way to override those natives through a "secondary" plugin?
Accepting private $$$ plugins requests.

@Steam: crazy770
@Discord: CrazY.#5317

Website | Channel

Last edited by CrazY.; 09-07-2020 at 11:14.
CrazY. is offline
Shadows Adi
AlliedModders Donor
Join Date: Aug 2019
Location: Romania
Old 09-07-2020 , 13:04   Re: Override native
Reply With Quote #2

Maybe. Explain what are you trying to do.
Shadows Adi is offline
Veteran Member
Join Date: Jun 2010
Old 09-07-2020 , 18:52   Re: Override native
Reply With Quote #3

Ye i would also like to help but i have no idea why is overriding needed :/
KZ Public Autocup - PrimeKZ

My blog: http://primekz.xyz (in progress...)
JocAnis is offline
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 09-07-2020 , 20:53   Re: Override native
Reply With Quote #4

The easiest solution is to simply edit the plugin that provides the native.
fysiks is offline
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 09-09-2020 , 06:22   Re: Override native
Reply With Quote #5

Create another plugin which registers the same native name and put it before the original one in plugins.ini

Last edited by HamletEagle; 09-09-2020 at 06:22.
HamletEagle is offline

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -4. The time now is 08:52.

Powered by vBulletin®
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Theme made by Freecode