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_class( FM_NULLENT, "info_map_parameters" );
if( !iEntity )
iEntity = create_entity( "info_map_parameters" );
DispatchKeyValue( iEntity, "buying", "3" );
DispatchSpawn( iEntity );
}
__________________