Raised This Month: $ Target: $400
 0% 

disable buymenu


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
scrtxxcaz
Senior Member
Join Date: Feb 2007
Location: a place u cant find
Old 08-08-2008 , 10:47   Re: disable buymenu
Reply With Quote #2

You could use this http://forums.alliedmods.net/showthr...=Buyzone+Range and include the script below somewhere(may have to be altered a little)

PHP Code:
#define MAX_MAPS 6
new Maps[MAX_MAPS][] = {     //map names here.... used CS one's for an example
     
"cs_dust",
     
"de_office",
     
"de_dust2",
     
"awp_map",
     
"cs_assault"
}
public 
plugin_init() {
     
register_plugin(PLUGINVERSIONAUTHOR)
     
register_logevent("MapChange"2"0=World triggered""1=Round_Start");
}
public 
MapChange(id) {
     new 
map_name[32]
     
get_mapname(map_name,31)
     for(new 
0;i<MAX_MAPS;i++)
     {
          if(
equal(map_name,Maps[i])
          {
              
//do this
          
}       
     }

__________________
Please leave your name when giving me any karma

Counter Strike Freeze Tag
Status: Testing.... (bugs)

Revised Registration
Status: In Progress

Last edited by scrtxxcaz; 08-08-2008 at 11:30.
scrtxxcaz is offline
Send a message via AIM to scrtxxcaz
 



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 05:29.


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