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

Buy Menu Management 2.0


Post New Thread Reply   
 
Thread Tools Display Modes
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 01-14-2013 , 01:18   Re: Buy Menu Management (v1.0beta)
Reply With Quote #11

Quote:
Originally Posted by Mr. Frost View Post
Now looks good?
PHP Code:
    /* Grounding ZP natives */
    
for( new sizeof(g_native_name) ; i++ )
        
register_nativeg_native_name], "zp_return_false" );
}

public 
zp_return_false() return false
It is exactly the same, unapproved.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
99wudi
New Member
Join Date: Dec 2012
Old 01-14-2013 , 02:37   Re: Buy Menu Management (v1.0beta)
Reply With Quote #12

can you speak chinese?I can't read it very ***,you know?If you can speak chinese,message for me with QQ,1539291938
99wudi is offline
ghostpro1991
Member
Join Date: Aug 2011
Old 01-14-2013 , 06:26   Re: Buy Menu Management (v1.0beta)
Reply With Quote #13

Is there any plugin similar to this that add extra items from ZP ???
ghostpro1991 is offline
Mr. Frost
Member
Join Date: Nov 2011
Location: Atlantis
Old 01-14-2013 , 12:26   Re: Buy Menu Management (v1.0beta)
Reply With Quote #14

Quote:
Originally Posted by ConnorMcLeod View Post
PHP Code:
    /* Grounding ZP natives */
    
for( new sizeof(g_native_name) ; i++ )
        
register_nativeg_native_name], "zp_return_false" );
}

public 
zp_return_false() return false
It is exactly the same, unapproved.
Can you explain? Sorry, but I don't understand.

ghostpro1991
, just as in the ZP.

Last edited by Mr. Frost; 01-14-2013 at 12:32.
Mr. Frost is offline
ghostpro1991
Member
Join Date: Aug 2011
Old 01-14-2013 , 14:33   Re: Buy Menu Management (v1.0beta)
Reply With Quote #15

Quote:
Originally Posted by Mr. Frost View Post
Can you explain? Sorry, but I don't understand.

ghostpro1991
, just as in the ZP.
So I just have to copy all extra items' .amxx and models, sound etc... add the .amxx file name to .ini file ???
Pls make an example
ghostpro1991 is offline
RateX
Veteran Member
Join Date: Jun 2012
Location: 0o. SEA .o0
Old 01-15-2013 , 02:30   Re: Buy Menu Management (v1.0beta)
Reply With Quote #16

I'm trying to add an extra item and this is what i get:

L 01/14/2013 - 18:48:51: Couldn't read file ""
L 01/14/2013 - 18:48:51: [AMXX] Displaying debug trace (plugin "buy_menu_management_v1.0beta.amxx")
L 01/14/2013 - 18:48:51: [AMXX] Run time error 10: native error (native "read_file")
L 01/14/2013 - 18:48:51: [AMXX] [0] buy_menu_management_v1.0beta.sma::add_item_zp (line 545)
L 01/14/2013 - 18:48:51: Unhandled dynamic native error
L 01/14/2013 - 18:48:51: [AMXX] Displaying debug trace (plugin "project.amxx")
L 01/14/2013 - 18:48:51: [AMXX] Run time error 10: native error (native "zp_register_extra_item")
L 01/14/2013 - 18:48:51: [AMXX] [0] project.sma::plugin_init (line 115)

What am i doing wrong? Please help
Thanks

Got it. i suppose to put it under your main plugin

Last edited by RateX; 01-15-2013 at 05:08. Reason: Silly me
RateX is offline
Mr. Frost
Member
Join Date: Nov 2011
Location: Atlantis
Old 01-15-2013 , 13:36   Re: Buy Menu Management (v1.0beta)
Reply With Quote #17

Quote:
Originally Posted by ghostpro1991 View Post
So I just have to copy all extra items' .amxx and models, sound etc... add the .amxx file name to .ini file ???
Pls make an example
*.ini-file of the plugin need for saving categories of items.
For adding Extra Items just put in plugins.ini:
Quote:
buy_menu_management_v1.0beta.amxx
zp_some_extraitem.amxx
(!) Items added only after the main plugin.
Mr. Frost is offline
ghostpro1991
Member
Join Date: Aug 2011
Old 01-16-2013 , 02:06   Re: Buy Menu Management (v1.0beta)
Reply With Quote #18

Thanks, it worked. But the money is limited at 16000, I use unlimited_money.amxx and then it can be 17k, 18k etc... however I cant use that money buy weapons ?

Last edited by ghostpro1991; 01-16-2013 at 02:06.
ghostpro1991 is offline
Mr. Frost
Member
Join Date: Nov 2011
Location: Atlantis
Old 01-16-2013 , 06:01   Re: Buy Menu Management (v1.0beta)
Reply With Quote #19

Quote:
Originally Posted by ghostpro1991 View Post
Thanks, it worked. But the money is limited at 16000, I use unlimited_money.amxx and then it can be 17k, 18k etc... however I cant use that money buy weapons ?
You can implement support money_ul. Just find this in the plugin:
Quote:
// #define MONEY_UL 1
and remove double slash before.
Mr. Frost is offline
ghostpro1991
Member
Join Date: Aug 2011
Old 01-16-2013 , 18:12   Re: Buy Menu Management (v1.0beta)
Reply With Quote #20

ghostpro1991 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 11:05.


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