AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Module Coding (https://forums.alliedmods.net/forumdisplay.php?f=9)
-   -   [Help][Using AMXX Natives] (https://forums.alliedmods.net/showthread.php?t=303011)

Beqa Gurgenidze 11-19-2017 09:08

[Help][Using AMXX Natives]
 
Hello AM.

How to use amxx original natives in modules ? :shock:

klippy 11-19-2017 14:28

Re: [Help][Using AMXX Natives]
 
You can't as far as I know. It would be interesting but I'm not sure if it's a great idea.

Beqa Gurgenidze 11-19-2017 14:47

Re: [Help][Using AMXX Natives]
 
Quote:

Originally Posted by KliPPy (Post 2561475)
You can't as far as I know. It would be interesting but I'm not sure if it's a great idea.

This is great idea if im creating menus, cuz re-hooking menu commands may crash amxmodx menus.

Black Rose 11-20-2017 16:49

Re: [Help][Using AMXX Natives]
 
Quote:

Originally Posted by Beqa Gurgenidze (Post 2561482)
This is great idea if im creating menus, cuz re-hooking menu commands may crash amxmodx menus.

CSDM has menus and is a module.

Beqa Gurgenidze 11-21-2017 05:53

Re: [Help][Using AMXX Natives]
 
Quote:

Originally Posted by Black Rose (Post 2561775)
CSDM has menus and is a module.

It has menus in amxx format not in cpp. :nono:

klippy 11-21-2017 06:12

Re: [Help][Using AMXX Natives]
 
Quote:

Originally Posted by Beqa Gurgenidze (Post 2561855)
It has menus in amxx format not in cpp. :nono:

What

Beqa Gurgenidze 11-21-2017 06:14

Re: [Help][Using AMXX Natives]
 
Quote:

Originally Posted by KliPPy (Post 2561858)
What

http://www.bailopan.net/csdm/index.php?page=download

Check and then say 'What'.

klippy 11-21-2017 06:18

Re: [Help][Using AMXX Natives]
 
Quote:

Originally Posted by Beqa Gurgenidze (Post 2561860)

You said it had menus in "amxx format and not cpp", which doesn't make any sense.

Now that I see the code, you probably meant that CSDM creates menus using AMXX plugins. There isn't anything strange about it, you can do it too, what's the problem? This doesn't have anything to do with your original question.

Beqa Gurgenidze 11-21-2017 06:20

Re: [Help][Using AMXX Natives]
 
Quote:

Originally Posted by KliPPy (Post 2561861)
You said it had menus in "amxx format and not cpp", which doesn't make any sense.

Now that I see the code, you probably meant that CSDM creates menus using AMXX plugins. There isn't anything strange about it, you can do it too, what's the problem? This doesn't have anything to do with your original question.

What

Beqa Gurgenidze 11-21-2017 06:21

Re: [Help][Using AMXX Natives]
 
I have no time for pointless things, if u think my 2nd answer does not makes sense you can leave it.

(you don't know anything except "which doesn't make any sense.")

HamletEagle 11-21-2017 09:44

Re: [Help][Using AMXX Natives]
 
Quote:

Originally Posted by Beqa Gurgenidze (Post 2561863)
I have no time for pointless things, if u think my 2nd answer does not makes sense you can leave it.

(you don't know anything except "which doesn't make any sense.")

Good luck getting help with this attitude.

Beqa Gurgenidze 11-21-2017 14:30

Re: [Help][Using AMXX Natives]
 
Yes

You said it had menus in "amxx format and not cpp", which doesn't make any sense.

he is right.
not makes sense if u use amxx code or cpp code for module. you can use both for creating menus using natives of amxmodx. everyone knows that.

klippy 11-21-2017 14:58

Re: [Help][Using AMXX Natives]
 
It's your wording and terminology that thew me off.

Anyway, you can't call AMXX natives from within modules.

fysiks 11-21-2017 20:58

Re: [Help][Using AMXX Natives]
 
Can't you just duplicate the code in the module from which you want to borrow functions?

Beqa Gurgenidze 11-22-2017 04:15

Re: [Help][Using AMXX Natives]
 
If you think im serious in last typed texts then i don't know what to say.

Black Rose said 'CSDM has menus and is a module.'

CSDM has menus in amxx format not in cpp, KliPPy could not understand that.
I sad that CSDM has menus written for amxx as plugin not as module. fysiks you said to copy module code from original to get what i want. This is just Misunderstanding! There is not code for using amxx menus by modules. just leave this as last commend im tired with this ..........

fysiks 11-22-2017 10:25

Re: [Help][Using AMXX Natives]
 
I know what you want and I don't see why my suggestion isn't valid. If you want certain functionality, add it to your module using the other modules as a reference.

Black Rose 11-24-2017 16:23

Re: [Help][Using AMXX Natives]
 
I understand. All of CSDM's menus are created and handled inside included plugins, there's no menu-code in the C++ source for the module.
My bad. Didn't know that.

I would do it the same way CSDM did. Separate plugin managing the menu.


All times are GMT -4. The time now is 17:32.

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