AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Unapproved/Old Plugins (https://forums.alliedmods.net/forumdisplay.php?f=27)
-   -   AMXX Gag v1.5.0 ReEDIT (https://forums.alliedmods.net/showthread.php?t=319984)

riste.kgb 11-29-2019 18:59

AMXX Gag v1.5.0 ReEDIT
 
3 Attachment(s)
Original Authors: xPaw & Exolent.

I've made this plugin for those people asked me from Kgb Hosting about making API that will communicate with another plugins.


v1.5.0 API Changelog
Code:

is_player_gagged(index) // return true or false if the player is not gagged
Not yet tested, but i think it should work. If not please report it so i can fix it.

OciXCrom 11-30-2019 07:48

Re: AMXX Gag v1.5.0 ReEDIT
 
I don't think adding 3 lines of code in a plugin that already has its thread here deserves a brand new thread. You should have posted this in the thread itself.

Also, you are using style 1 natives which are deprecated and might not work.

riste.kgb 11-30-2019 07:50

Re: AMXX Gag v1.5.0 ReEDIT
 
Quote:

Originally Posted by OciXCrom (Post 2675055)
I don't think adding 3 lines of code in a plugin that already has its thread here deserves a brand new thread. You should have posted this in the thread itself.

Also, you are using style 1 natives which are deprecated and might not work.

Doesn't matter if it is style 1. I've experienced much more bugs with using style 0 than style 1.

I've created it for those who asked me from other forums so they can easily find it. Maybe ill add more natives in future.

OciXCrom 11-30-2019 08:11

Re: AMXX Gag v1.5.0 ReEDIT
 
It does matter. It's stated in the API itself that it shouldn't be used. What kind of bugs did you exactly experience with style 0? If you did, you probably used it wrongly.

riste.kgb 11-30-2019 09:20

Re: AMXX Gag v1.5.0 ReEDIT
 
Quote:

Originally Posted by OciXCrom (Post 2675060)
It does matter. It's stated in the API itself that it shouldn't be used. What kind of bugs did you exactly experience with style 0? If you did, you probably used it wrongly.

I know that "states", but i state that is wrong.

I'm using style 1 in my zp vip system v2.3 and everything works as should be. With style 0 that wasn't working correctly.

OciXCrom 11-30-2019 09:54

Re: AMXX Gag v1.5.0 ReEDIT
 
So you are stating that you have more knowledge than the people who created AMXX? Like I said - if it's not working, you did something wrong. Show your code and I will prove it.

Zeky 11-30-2019 13:19

Re: AMXX Gag v1.5.0 ReEDIT
 
Quote:

Originally Posted by riste.kgb (Post 2675000)
Original Authors: xPaw & Exolent.

I've made this plugin for those people asked me from Kgb Hosting about making API that will communicate with another plugins.


v1.5.0 API Changelog
Code:

is_player_gagged(index) // return true or false if the player is not gagged
Not yet tested, but i think it should work. If not please report it so i can fix it.


Can you add reason menu?

HamletEagle 11-30-2019 15:18

Re: AMXX Gag v1.5.0 ReEDIT
 
Style 1 is deprecated and should not be used. Style 0 works just fine.
If you run into bugs, it's because you did not use it properly, not because something is actually bugged.

With that being said, doing extremely minimal changes doesn't justify opening a new thread. Please post this in the original thread as a comment instead.
On the other hand, if you wish to keep developing the plugin and add significant changes you can take over the plugin. Just contact the author before by PM and see if they are ok with it(no answer after some time counts as a yes too).

Unless you take over the plugin and implement more changes, this will be unapproved.

riste.kgb 12-01-2019 05:39

Re: AMXX Gag v1.5.0 ReEDIT
 
Quote:

Originally Posted by HamletEagle (Post 2675139)
Style 1 is deprecated and should not be used. Style 0 works just fine.
If you run into bugs, it's because you did not use it properly, not because something is actually bugged.

With that being said, doing extremely minimal changes doesn't justify opening a new thread. Please post this in the original thread as a comment instead.
On the other hand, if you wish to keep developing the plugin and add significant changes you can take over the plugin. Just contact the author before by PM and see if they are ok with it(no answer after some time counts as a yes too).

Unless you take over the plugin and implement more changes, this will be unapproved.

If style 1 is bugged but style 0 is okay, why then it was bugged putting numbers from native and setting in array isn't working ? i've experienced that in my first version of ZP vip system and i had to change style from 0 to 1 Then everything was working.

Maybe because i did not put params in header, i've just using

get_string
get_param // for integers

and the header was something like this

Code:

public _native(iPlugin, iParam) {
}

but the native was having actually 5 arguments i was trying to access them via get_param, get_string...

OciXCrom 12-01-2019 07:28

Re: AMXX Gag v1.5.0 ReEDIT
 
If you're not using the parameters in the function's body, it doesn't matter. For the 3rd time - show your code so we can explain what's wrong... I don't know what kind of array you're talking about, but get_array exists as well.


All times are GMT -4. The time now is 04:44.

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