Raised This Month: $32 Target: $400
 8% 

AMXX Gag v1.5.0 ReEDIT


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Admin Commands       
riste.kgb
Junior Member
Join Date: Oct 2019
Location: Macedonia, Bogdanci
Old 11-29-2019 , 18:59   AMXX Gag v1.5.0 ReEDIT
Reply With Quote #1

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.
Attached Files
File Type: sma Get Plugin or Get Source (amx_gag.sma - 583 views - 40.7 KB)
File Type: zip amx_gag.zip (10.0 KB, 245 views)
File Type: inc amx_gag.inc (261 Bytes, 211 views)

Last edited by riste.kgb; 11-29-2019 at 19:15.
riste.kgb is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 11-30-2019 , 07:48   Re: AMXX Gag v1.5.0 ReEDIT
Reply With Quote #2

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

Last edited by OciXCrom; 11-30-2019 at 07:48.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
riste.kgb
Junior Member
Join Date: Oct 2019
Location: Macedonia, Bogdanci
Old 11-30-2019 , 07:50   Re: AMXX Gag v1.5.0 ReEDIT
Reply With Quote #3

Quote:
Originally Posted by OciXCrom View Post
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.
riste.kgb is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 11-30-2019 , 08:11   Re: AMXX Gag v1.5.0 ReEDIT
Reply With Quote #4

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.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
riste.kgb
Junior Member
Join Date: Oct 2019
Location: Macedonia, Bogdanci
Old 11-30-2019 , 09:20   Re: AMXX Gag v1.5.0 ReEDIT
Reply With Quote #5

Quote:
Originally Posted by OciXCrom View Post
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.
riste.kgb is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 11-30-2019 , 09:54   Re: AMXX Gag v1.5.0 ReEDIT
Reply With Quote #6

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.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Zeky
Member
Join Date: Jul 2019
Old 11-30-2019 , 13:19   Re: AMXX Gag v1.5.0 ReEDIT
Reply With Quote #7

Quote:
Originally Posted by riste.kgb View Post
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?
Zeky is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 11-30-2019 , 15:18   Re: AMXX Gag v1.5.0 ReEDIT
Reply With Quote #8

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

Last edited by HamletEagle; 11-30-2019 at 15:19.
HamletEagle is offline
riste.kgb
Junior Member
Join Date: Oct 2019
Location: Macedonia, Bogdanci
Old 12-01-2019 , 05:39   Re: AMXX Gag v1.5.0 ReEDIT
Reply With Quote #9

Quote:
Originally Posted by HamletEagle View Post
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...
riste.kgb is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 12-01-2019 , 07:28   Re: AMXX Gag v1.5.0 ReEDIT
Reply With Quote #10

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.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Reply


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 21:39.


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