FOR VERSION 2.3.2, if you want bot_buy_item 0 (bots not allowed to buy items), it doesn't work: you have to search events.inl for this:
Code: Select all
if(is_user_bot(id)){
new Float:randomnumber = random_float(0.0,1.0)
if (randomnumber <= iCvar[FT_BOT_BUY_ITEM]){
new num = random_num(1,2)
if (num == 1)
_menu_Shopmenu_One(id, random_num(0,8))
else
_menu_Shopmenu_Two(id, random_num(0,8))
}
if (randomnumber <= 0.06){
p_data[id][P_XP]=xplevel[floatround(random_float(0.0,3.16)*random_float(0.0,3.16))]
p_data[id][P_RACE] = random_num(1,iCvar[FT_RACES])
}
}
Code: Select all
// if(is_user_bot(id)){
// new Float:randomnumber = random_float(0.0,1.0)
// if (randomnumber <= iCvar[FT_BOT_BUY_ITEM]){
// new num = random_num(1,2)
// if (num == 1)
// _menu_Shopmenu_One(id, random_num(0,8))
// else
// _menu_Shopmenu_Two(id, random_num(0,8))
// }
// if (randomnumber <= 0.06){
// //p_data[id][P_XP]=xplevel[floatround(random_float(0.0,3.16)*random_float(0.0,3.16))]
// p_data[id][P_RACE] = random_num(1,iCvar[FT_RACES])
// }
// }
Code: Select all
amxxpc warcraft3FT.sma
If you want to disable the bot's ultimates post here, if the topic still exists

P.S.: not sure if i should post here... anyway