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

Weapon Menu Creator [ V 1.0 ]


Post New Thread Reply   
 
Thread Tools Display Modes
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Old 03-06-2015 , 09:28   Re: Weapon Menu Creator [ V 0.5 ]
Reply With Quote #31

Quote:
Originally Posted by HamletEagle View Post
I'm already working for fixing this plugin and also improving it Just wait
It was a recommendation to him so he could do a fast fix before you update it
__________________
Jhob94 is offline
feifei
Senior Member
Join Date: Sep 2014
Location: India
Old 03-06-2015 , 11:25   Re: Weapon Menu Creator [ V 0.5 ]
Reply With Quote #32

Quote:
Originally Posted by HamletEagle View Post
I'm already working for fixing this plugin and also improving it Just wait
I'm Waiting... B|
__________________
MaTriX is my life
Visit Here ;) For ZP MODs
feifei is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 03-08-2015 , 10:33   Re: Weapon Menu Creator [ V 0.5 ]
Reply With Quote #33

Quote:
Originally Posted by vase070 View Post
Code:
L 03/03/2015 - 06:43:51: Start of error session.
L 03/03/2015 - 06:43:51: Info (map "de_dust2") (file "addons/amxmodx/logs/error_20150303.log")
L 03/03/2015 - 06:43:51: [CSTRIKE] Invalid player 9
L 03/03/2015 - 06:43:51: [AMXX] Displaying debug trace (plugin "advanced_menu_creator.amxx")
L 03/03/2015 - 06:43:51: [AMXX] Run time error 10: native error (native "cs_get_user_money")
L 03/03/2015 - 06:43:51: [AMXX]    [0] 138663.attach::UTIL_HandleBothMenus (line 433)
L 03/03/2015 - 06:43:51: [AMXX]    [1] 138663.attach::hPrimaryWeapHandler (line 338)
also with the plugin ON when i join a team i does not spawn me
About the last problem, give me a way to reproduce, because I never had problems when spawning.
__________________
HamletEagle is offline
claudiuhks
Yam Inside®™℠
Join Date: Jan 2010
Location: Living Randomly
Old 03-11-2015 , 08:35   Re: Weapon Menu Creator [ V 0.5 ]
Reply With Quote #34

Well, just a suggestion, not something eagerness to change..

You can just use multiple lines like that, by only using one native at a time. No need of 10-20 FPutS.

PHP Code:
fn()
{
    
server_print(\
"SERVER^n\
Exactly^n\
Yes"
);

//

    
server_print(\
"\
Yes^n\
No^n\
Cancel\
"
); // easier to edit the content

It should be faster, even if not easier to edit. Also, no there are no indentation problems with this.

Code:
UTIL_HandleBothMenus ( id,item, iType )
{
	if( !FBitGet(bs_is_alive, id) || is_user_bot( id ) )
	{
		return 1;
	}
I think it would be better to clear all bits on client_disconnect(). No need of bAlive = TRUE if disconnected.
__________________

Last edited by claudiuhks; 03-11-2015 at 08:44.
claudiuhks is offline
Send a message via MSN to claudiuhks Send a message via Yahoo to claudiuhks Send a message via Skype™ to claudiuhks
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 03-14-2015 , 14:37   Re: Weapon Menu Creator [ V 1.0 ]
Reply With Quote #35

Updated to 1.0, everything fixed. I hope it is working fine now.

!!!!!!THIS NEW UPDATE IS NOT COMPATIBLE WITH OLD CONFIGURATION FILES. PLEASE BACKUP YOUR MENU ITEMS AND DELETE THE OLD FILE. A NEW ONE MUST BE GENERATED WITH A NEW NAME.!!!!!
__________________
HamletEagle is offline
deadman909
Veteran Member
Join Date: Oct 2008
Old 04-10-2015 , 05:48   Re: Weapon Menu Creator [ V 1.0 ]
Reply With Quote #36

You should add the StripWeapons.inc file in your attachments instead of in the post.

Also. Something nice would be if you could find a way to add the ability to add weapons from other plugins like Bazzoka, Arrow, etc. Not sure if possible but sure would be nice.
Attached Files
File Type: inc stripweapons.inc (4.5 KB, 70 views)
__________________


Last edited by deadman909; 04-10-2015 at 05:48.
deadman909 is offline
Send a message via MSN to deadman909 Send a message via Yahoo to deadman909
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 04-10-2015 , 06:01   Re: Weapon Menu Creator [ V 1.0 ]
Reply With Quote #37

Quote:
Originally Posted by deadman909 View Post
You should add the StripWeapons.inc file in your attachments instead of in the post.

Also. Something nice would be if you could find a way to add the ability to add weapons from other plugins like Bazzoka, Arrow, etc. Not sure if possible but sure would be nice.
For 100th time, this is not possible. Well, it may be, but it will take too much time and would require this weapons to be edited.
__________________
HamletEagle is offline
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Old 04-10-2015 , 06:34   Re: Weapon Menu Creator [ V 1.0 ]
Reply With Quote #38

Quote:
Originally Posted by HamletEagle View Post
For 100th time, this is not possible. Well, it may be, but it will take too much time and would require this weapons to be edited.
Dias WeaponPP does it and runs just fine.
Require much time yes, but i guess it would add something unique into this. I mean, the plugin as it is basickly already exist.
__________________
Jhob94 is offline
Kz1.0
Senior Member
Join Date: Jan 2013
Location: Vietnam
Old 04-10-2015 , 07:49   Re: Weapon Menu Creator [ V 1.0 ]
Reply With Quote #39

Quote:
Originally Posted by Jhob94 View Post
Dias WeaponPP does it and runs just fine.
Require much time yes, but i guess it would add something unique into this. I mean, the plugin as it is basickly already exist.
What is WeaponPP ?
Kz1.0 is offline
deadman909
Veteran Member
Join Date: Oct 2008
Old 04-10-2015 , 07:54   Re: Weapon Menu Creator [ V 1.0 ]
Reply With Quote #40

Quote:
Originally Posted by HamletEagle View Post
For 100th time, this is not possible. Well, it may be, but it will take too much time and would require this weapons to be edited.
Okay thanks. Great plugin. I edit your version to make it work somewhat with Special Weapons =).
Loving it. Still not perfect but working on it LOL.

Also is it just me experiencing this. Although I do not have the money I still get the gun. I do however get the message that I do not have enough money but guns still is given.

For me I just added a return in this line to stop giving me the gun.

PHP Code:
    if(Money Data[WeaponPrice])
    {
        
client_print(idprint_chat"You don't have enough money")
        
menu_display(idHandlePrimaryMenu0)
        return
    } 
__________________


Last edited by deadman909; 04-10-2015 at 08:41.
deadman909 is offline
Send a message via MSN to deadman909 Send a message via Yahoo to deadman909
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 11:51.


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