Raised This Month: $ Target: $400
 0% 

No Buy Menu .. Help Bus PLEASE !


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
uNy
Member
Join Date: Dec 2009
Old 05-17-2010 , 21:26   No Buy Menu .. Help Bus PLEASE !
Reply With Quote #1

Hello guys .. another deal ... i asked xPaw also to make me a plugin that restricts the buying menu for EVERYONE ! And that includes letter B , binds for Buy menu , and CFG's ... well here's the code that he gave 2 me , but i cant even compile ... help please
Also, remember 2 make for n00bs like me , tell me where to put every singel stuff =) .. thx so much .. and if theres something wrong with the code, or not making the requirements that i asked, edit it pleaaaase =) love u

PHP Code:

#include < amxmodx >

public plugin_init( ) {
    
register_plugin"No Buy""1.0""xPaw" );
    
    new 
iEntity find_ent_by_classFM_NULLENT"info_map_parameters" );
    
    if( !
iEntity )
        
iEntity create_entity"info_map_parameters" );
    
    
DispatchKeyValueiEntity"buying""3" );
    
DispatchSpawniEntity );

__________________
AlliedModders is The BEST !
That's what she said.
steam://connect/80.96.216.53:27015
uNy is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 05-18-2010 , 01:10   Re: No Buy Menu .. Help Bus PLEASE !
Reply With Quote #2

PHP Code:

#include < amxmodx >
#include < engine >

public plugin_init( ) {
    
register_plugin"No Buy""1.0""xPaw" );
    
    new 
iEntity find_ent_by_class( -1"info_map_parameters" );
    
    if( !
iEntity )
        
iEntity create_entity"info_map_parameters" );
    
    
DispatchKeyValueiEntity"buying""3" );
    
DispatchSpawniEntity );

__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!

Last edited by Exolent[jNr]; 05-18-2010 at 19:47.
Exolent[jNr] is offline
uNy
Member
Join Date: Dec 2009
Old 05-18-2010 , 07:41   Re: No Buy Menu .. Help Bus PLEASE !
Reply With Quote #3

Still, the compiler doesn't find FM_NULLENT ... error againn .. please help again xD
__________________
AlliedModders is The BEST !
That's what she said.
steam://connect/80.96.216.53:27015
uNy is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 05-18-2010 , 19:48   Re: No Buy Menu .. Help Bus PLEASE !
Reply With Quote #4

Fixed.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
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 03:42.


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