Well i just whana ask or this code will work if map runs example AWP_INDIA and i whana do command to turn off one plugin command:
PHP Code:
#include <amxmodx>
#define PLUGIN "Map"
#define VERSION "1.0"
#define AUTHOR "LostSkill"
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR);
set_task(1.0, "taskCheckMap", 0, "", 0, "b", 0);
}
public taskCheckMap()
{
new szMap[ 32 ];
get_mapname( szMap, 31 );
if( equali( szMap, "35hp_2" ) )
{
server_cmd("amx_armor 0")
}
}
and wich of them is helm and armor
PHP Code:
give_item(player, "item_kevlar");
give_item(player, "item_assaultsuit");
give_item(player, "item_thighpack");
__________________