Raised This Month: $51 Target: $400
 12% 

Override native


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
CrazY.
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?
__________________









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.
__________________


Accepting Paid Requests, contact PM.

MVP Of The Round View project on GITHUB / AlliedModders
CSGO REMAKE ~ CSGO MOD [STABLE + SOURCE CODE]
Shadows Adi is offline
JocAnis
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...) - not active (dec 2022)
JocAnis is offline
fysiks
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
HamletEagle
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
Reply



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 15:24.


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