Pod Bots 3.0

Сообщения
102
Реакции
-1
Ошибка
L 07/17/2022 - 13:30:41: [amxx_podbotmenu.amxx] [POD-Bot] "<3><>" add a random bot
No Waypoints for this Map, can't create Bot !
ОС
Linux
Amx Mod X
AMX Mod X 1.9.0-dev+5210
Билд
ReHLDS version: 3.11.0.777-dev
ReGamedll
ReGameDLL version: 5.21.0.540-dev
Версия Metamod
Metamod v1.21p37 2013/05/30 (5:13)
Список метамодулей
[ 1] AMX Mod X RUN - amxmodx_mm_i386. v1.9.0-d ini Start ANY
[ 2] Reunion RUN - reunion_mm_i386. v0.1.92d ini Start Never
[ 3] Rechecker RUN - rechecker_mm_i38 v2.3 ini Chlvl ANY
[ 4] VoiceTranscoder RUN - VoiceTranscoder. v2017RC5 ini ANY ANY
[ 5] POD-Bot mm RUN - podbot_mm_i386.s v3.0B20a ini Chlvl ANY
[ 6] Ham Sandwich RUN - hamsandwich_amxx v1.9.0-d pl1 ANY ANY
[ 7] Engine RUN - engine_amxx_i386 v1.9.0-d pl1 ANY ANY
[ 8] ReAPI RUN - reapi_amxx_i386. v5.21.0. pl1 ANY Never
[ 9] FakeMeta RUN - fakemeta_amxx_i3 v1.9.0-d pl1 ANY ANY
[10] Fun RUN - fun_amxx_i386.so v1.9.0-d pl1 ANY ANY
[11] CStrike RUN - cstrike_amxx_i38 v1.9.0-d pl1 ANY ANY
[12] MySQL RUN - mysql_amxx_i386. v1.9.0-d pl1 ANY ANY
[13] CSX RUN - csx_amxx_i386.so v1.9.0-d pl1 ANY ANY
[14] gRIP RUN - grip_amxx_i386.s v0.1.5 B pl1 ANY ANY
Список плагинов
[ 1] End Round Music MP3 1.6b Sho0ter endroundmusicmp running
[ 2] POD-Bot Menu 1.3 g4s|figurE.09 amxx_podbotmenu running
[ 3] Mode 2x2 2.5re s1lent mode.amxx running
[ 4] No Players Map 1.2 SKAJIbnEJIb no_players_map. running
[ 5] WarmUP Pro 5.6 Beta ReymonARG Warmupro.amxx running
[ 6] Admin Gag 1.0 AndrewZ admin_gag.amxx running
[ 7] Sniper Rifle Control 1.2 WillyumYum sniper_control. running
[ 8] The Smartest 1.0 Krevedko sam_umniy.amxx running
[ 9] AFK Kicker 1.0b Cheesy Peteza afkkicker.amxx running
[ 10] Knife Duel 1.0 Alka knife_duel.amxx running
[ 11] Revive teammate 2.0 beast revive_teammate running
[ 12] Damager 2.0 Prayer damager.amxx running
[ 13] Advanced Kill Assists 1.3c Kriminal next21_kill_ass running
[ 14] Recoil Control 1.5 OT recoil_control. running
[ 15] Custom Player Models A 0.2.1 F@nt0M & BlackSi custom_player_m running
[ 16] Custom Player Models C 0.2.2 BlackSignature custom_player_m running
[ 17] Custom Player Models T 0.2.1 BlackSignature custom_player_m running
[ 18] [GM] Night VIP 1.1.1 [GM] NWC gm_night_vips.a running
[ 19] Server Menu [INI] 1.0 server_menu.amx running
[ 20] c4 timer 1.0 cheap_suit c4timer.amxx running
[ 21] Chat Manager: Addon 0.0.4-70 Mistrick chatmanager_add running
[ 22] Chat Manager 1.1.2-16 Mistrick chatmanager.amx running
[ 23] Autoresponder/Advertis 0.5 MaximusBrood ad_manager.amxx running
[ 24] [Customizable] AmxModM 0.0.4 Albertio amxmodmenu.amxx running
[ 25] Injector X 1.0 Deadly|Darkness dd_injectorX.am running
[ 26] [ReAPI] Healthnade 0.0.4f F@nt0M + mx?! reapi_healthnad running
[ 27] VIP System (exclusive 2.3.0 Emma Jule vip_system.amxx running
[ 28] Custom Smoke 1.07 bionext custom_smoke_bl running
[ 29] Tutor Manager 1.0 Dorus tutor_manager.a running
[ 30] Gas Grenades 1.6 ConnorMcLeod zp_gasnades.amx running
[ 31] ReParachute 1.0 PurposeLess reparachute.amx running
[ 32] Lite VoteBan 1.4 neygomon lite_voteban.am running
[ 33] ResetScore 1.0 Leo_[BH] resetscore_reap running
[ 34] Ping Checker 26.0.1 RC1 h1k3 ping_checker.am running
[ 35] AntiFlash FINAL 5.0 Leo_[BH] antiflash5.amxx running
[ 36] anti block 0.1 cheap_suit zp_antiblock.am running
[ 37] Time Bonus 1.1 SKOBAR1K time_bonus.amxx running
[ 38] Info Rank 0.2 maFFyoZZyk info_rank.amxx running
[ 39] FreshBans 1.4.0b kanagava fresh_bans.amxx running
[ 40] Admin Loader 2.9 neygomon admin_loader.am running
[ 41] Admin Commands 1.9.0-dev+ AMXX Dev Team admincmd.amxx running
[ 42] Admin Help 1.9.0-dev+ AMXX Dev Team adminhelp.amxx running
[ 43] Slots Reservation 1.9.0-dev+ AMXX Dev Team adminslots.amxx running
[ 44] ReAPI Test 1.0 s1lent reapi_test.amxx running
[ 45] Menus Front-End 1.9.0-dev+ AMXX Dev Team menufront.amxx running
[ 46] Commands Menu 1.9.0-dev+ AMXX Dev Team cmdmenu.amxx running
[ 47] Players Menu 1.9.0-dev+ AMXX Dev Team plmenu.amxx running
[ 48] Plugin Menu 1.9.0-dev+ AMXX Dev Team pluginmenu.amxx running
[ 49] Admin Chat 1.9.0-dev+ AMXX Dev Team adminchat.amxx running
[ 50] Anti Flood 1.9.0-dev+ AMXX Dev Team antiflood.amxx running
[ 51] Scrolling Message 1.9.0-dev+ AMXX Dev Team scrollmsg.amxx running
[ 52] Info. Messages 1.9.0-dev+ AMXX Dev Team imessage.amxx running
[ 53] Admin Votes 1.9.0-dev+ AMXX Dev Team adminvote.amxx running
[ 54] NextMap 1.9.0-dev+ AMXX Dev Team nextmap.amxx running
[ 55] GameCMS_MapManager 1.1 zhorzh78 gamecms_mapmana running
[ 56] Pause Plugins 1.9.0-dev+ AMXX Dev Team pausecfg.amxx running
[ 57] Stats Configuration 1.9.0-dev+ AMXX Dev Team statscfg.amxx running
[ 58] Restrict Weapons 1.9.0-dev+ AMXX Dev Team restmenu.amxx running
[ 59] CS Misc. Stats 1.9.0-dev+ AMXX Dev Team miscstats.amxx running
[ 60] CS Stats Logging 1.9.0-dev+ AMXX Dev Team stats_logging.a running
[ 61] Telegram Messages 2.0 cshost.com.ua telegramMessage running
[ 62] AES: Bonus CSTRIKE 0.5.9 [REA serfreeman1337/s aes_bonus_cstri running
[ 63] AES: Bonus System 0.5.9 Vega serfreeman1337/s aes_bonus_syste running
[ 64] AES: CStrike Addon 0.5.9 [REA serfreeman1337/s aes_exp_cstrike running
[ 65] AES: Admin Tools 0.5.9 [REA serfreeman1337/s aes_exp_editor. running
[ 66] AES: Informer 0.5.9 [REA serfreeman1337/s aes_informer.am running
[ 67] Advanced Experience Sy 0.5.9 [REA serfreeman1337/s aes_main.amxx running
[ 68] AES: StatsX 0.5.9 [REA serfreeman1337/s aes_statsx_cstr running
[ 69] CSStatsX SQL 0.7.4+1 serfreeman1337 csstatsx_sql.am running
69 plugins, 69 running
Автор плагина
g4s|figurE.09
Версия плагина
1.3
Исходный код
/*------------------------------------------------------------------------------

Ultimate POD-Bot Menu v1.3 by g4s|figurE.09

Visit http://g4s.netfirms.com for updates.

Console Commands:

amx_pbmenu - displays POD-Bot main menu.
amx_pbaddbot - adds specific number of bots.

------------------------------------------------------------------------------*/

#include <amxmodx>
#include <amxmisc>

new g_botSkill = -1
new g_botPersonality = -1
new g_botTeam = -1
new g_botModel = -1
new g_fillServer = 0

public plugin_init() {
register_plugin("POD-Bot Menu", "1.3", "g4s|figurE.09")
register_concmd("amx_pbaddbot", "cmdAddbots", ADMIN_MENU, "<number of bots> - adds bots.")
register_menucmd(register_menuid("\yPOD-Bot Menu"), 1023, "actionPBMenu")
register_menucmd(register_menuid("\yPlease choose a Skill"), 1023, "actionCSMenu")
register_menucmd(register_menuid("\yPlease choose a Personality"), 1023, "actionCPMenu")
register_menucmd(register_menuid("\yPlease choose a Team"), 1023, "actionCTMenu")
register_menucmd(register_menuid("\yPlease choose a Model"), 1023, "actionCMMenu")
register_menucmd(register_menuid("\yKick Bot From"), 1023, "actionKBMenu")
register_menucmd(register_menuid("\yWeapon Mode"), 1023, "actionWMMenu")
register_clcmd("amx_pbmenu", "showPBMenu", ADMIN_MENU, "- displays POD-Bot menu.")
register_clcmd("amx_pbcsmenu", "showCSMenu", ADMIN_MENU, "- displays POD-Bot add bot(choose skill) menu.")
register_clcmd("amx_pbcpmenu", "showCPMenu", ADMIN_MENU, "- displays POD-Bot add bot(choose personality) menu.")
register_clcmd("amx_pbctmenu", "showCTMenu", ADMIN_MENU, "- displays POD-Bot add bot(choose team) menu.")
register_clcmd("amx_pbcmmenu", "showCMMenu", ADMIN_MENU, "- displays POD-Bot add bot(choose model) menu.")
register_clcmd("amx_pbkbmenu", "showKBMenu", ADMIN_MENU, "- displays POD-Bot kick bot menu.")
register_clcmd("amx_pbwmmenu", "showWMMenu", ADMIN_MENU, "- displays POD-Bot weapon mode menu.")
return PLUGIN_CONTINUE
}

/*--- Add Bots ---------------------------------------------------------------*/

public addBots() {
server_cmd("pb add")
}

public cmdAddbots(id, level, cid) {
if (!cmd_access(id, level, cid, 2))
return PLUGIN_HANDLED
new botsNum[32]
read_argv(1, botsNum, 31)
new botsnumber = str_to_num(botsNum)
set_task(1.0, "addBots", 12120, "", 0, "a", botsnumber - 1)
new name[32], authid[16]
get_user_name(id, name, 31)
get_user_authid(id, authid, 16)
log_amx("[POD-Bot] ^"%s<%d><%s><>^" add %d bots", name, get_user_userid(id), authid, botsnumber)
console_print(id, "* [POD-Bot] Added %d Bots.", botsnumber)
return PLUGIN_HANDLED
}

/*--- Add Specific Bot -------------------------------------------------------*/

public addSpecificBot() {
if (g_botSkill == -1)
g_botSkill = random_num(0, 100)
if (g_botPersonality == -1)
g_botPersonality = 5
if (g_botTeam == -1)
g_botTeam = (1, 2)
if (g_botModel == -1)
g_botModel = random_num(1, 4)
server_cmd("pb add %d %d %d %d", g_botSkill, g_botPersonality, g_botTeam, g_botModel)
}

/*--- Fill Server ------------------------------------------------------------*/

public fillServer() {
if (g_botSkill == -1)
g_botSkill = random_num(0, 100)
if (g_botPersonality == -1)
g_botPersonality = 5
if (g_botTeam == -1)
g_botTeam = 5
if (g_botModel == -1)
g_botModel = random_num(1, 4)
server_cmd("pb fillserver %d %d %d %d", g_botSkill, g_botPersonality, g_botTeam, g_botModel)
}

/*--- Main Menu --------------------------------------------------------------*/

public actionPBMenu(id, key) {
new name[32], authid[16]
get_user_name(id, name, 31)
get_user_authid(id, authid, 16)
switch(key) {
case 0: {
server_cmd("pb add")
client_cmd(id, "amx_pbmenu")
log_amx("[POD-Bot] ^"%s<%d><%s><>^" add a random bot", name, get_user_userid(id), authid)
}
case 1: {
g_fillServer = 0
client_cmd(id, "amx_pbcsmenu")
}
case 2: {
server_cmd("pb killbots")
log_amx("[POD-Bot] ^"%s<%d><%s><>^" kill all bots", name, get_user_userid(id), authid)
}
case 3: {
new plist[32], pnum
get_players(plist, pnum, "a")
for (new i = 0; i < pnum; i++) {
user_kill(plist[i], 1)
}
log_amx("[POD-Bot] ^"%s<%d><%s><>^" new round", name, get_user_userid(id), authid)
}
case 4: {
g_fillServer = 1
client_cmd(id, "amx_pbcsmenu")
}
case 5: {
client_cmd(id, "amx_pbkbmenu")
}
case 6: {
server_cmd("pb removebots")
log_amx("[POD-Bot] ^"%s<%d><%s><>^" kick all bots", name, get_user_userid(id), authid)
}
case 7: {
client_cmd(id, "amx_pbwmmenu")
}
}
return PLUGIN_HANDLED
}

public showPBMenu(id, level, cid) {
if (!cmd_access(id, level, cid, 1))
return PLUGIN_HANDLED
new menu[256]
format(menu, 255, "\yPOD-Bot Menu^n^n\w1. Quick Add Bot^n2. Add Specific Bot^n3. Kill All Bots^n4. New Round^n5. Fill Server^n6. Kick Bot^n7. Kick All Bots^n8. Weapon Mode^n^n\w0. Exit")
show_menu(id, ((1<<0)|(1<<1)|(1<<2)|(1<<3)|(1<<4)|(1<<5)|(1<<6)|(1<<7)|(1<<9)), menu)
return PLUGIN_HANDLED
}

/*--- Choose Skill Menu ------------------------------------------------------*/

public actionCSMenu(id, key) {
switch(key) {
case 0: {
g_botSkill = random_num(0, 19)
client_cmd(id, "amx_pbcpmenu")
}
case 1: {
g_botSkill = random_num(20, 39)
client_cmd(id, "amx_pbcpmenu")
}
case 2: {
g_botSkill = random_num(40, 59)
client_cmd(id, "amx_pbcpmenu")
}
case 3: {
g_botSkill = random_num(60, 79)
client_cmd(id, "amx_pbcpmenu")
}
case 4: {
g_botSkill = random_num(80, 99)
client_cmd(id, "amx_pbcpmenu")
}
case 5: {
g_botSkill = 100
client_cmd(id, "amx_pbcpmenu")
}
case 6: {
g_botSkill = random_num(0, 100)
client_cmd(id, "amx_pbcpmenu")
}
case 8: {
client_cmd(id, "amx_pbmenu")
}
}
return PLUGIN_HANDLED
}

public showCSMenu(id, level, cid) {
if (!cmd_access(id, level, cid, 1))
return PLUGIN_HANDLED
new menu[256]
format(menu, 255, "\yPlease choose a Skill^n^n\w1. Stupid(0-19)^n2. Newbie(20-39)^n3. Average(40-59)^n4. Advanced(60-79)^n5. Professional(80-99)^n6. Godlike(100)^n^n7. Random(0-100)^n^n\w9. Back^n\w0. Exit")
show_menu(id, ((1<<0)|(1<<1)|(1<<2)|(1<<3)|(1<<4)|(1<<5)|(1<<6)|(1<<8)|(1<<9)), menu)
return PLUGIN_HANDLED
}

/*--- Choose Personality Menu ------------------------------------------------*/

public actionCPMenu(id, key) {
switch(key) {
case 0: {
g_botPersonality = 1
client_cmd(id, "amx_pbctmenu")
}
case 1: {
g_botPersonality = 2
client_cmd(id, "amx_pbctmenu")
}
case 2: {
g_botPersonality = 3
client_cmd(id, "amx_pbctmenu")
}
case 3: {
g_botPersonality = 5
client_cmd(id, "amx_pbctmenu")
}
case 8: {
client_cmd(id, "amx_pbcsmenu")
}
}
return PLUGIN_HANDLED
}

public showCPMenu(id, level, cid) {
if (!cmd_access(id, level, cid, 1))
return PLUGIN_HANDLED
new menu[256]
format(menu, 255, "\yPlease choose a Personality^n^n\w1. Normal^n2. Aggresive^n3. Defensive^n^n4. Random^n^n\w9. Back^n\w0. Exit")
show_menu(id, ((1<<0)|(1<<1)|(1<<2)|(1<<3)|(1<<8)|(1<<9)), menu)
return PLUGIN_HANDLED
}

/*--- Choose Team Menu -------------------------------------------------------*/

public actionCTMenu(id, key) {
new name[32], authid[16]
get_user_name(id, name, 31)
get_user_authid(id, authid, 16)
switch(key) {
case 0: {
g_botTeam = 1
client_cmd(id, "amx_pbcmmenu")
}
case 1: {
g_botTeam = 2
client_cmd(id, "amx_pbcmmenu")
}
case 2: {
if (g_fillServer == 0) {
g_botTeam = random_num(1, 2)
client_cmd(id, "amx_pbcmmenu")
}
else {
g_botTeam = 5
set_task(0.1, "fillServer", 12121)
log_amx("[POD-Bot] ^"%s<%d><%s><>^" fill server", name, get_user_userid(id), authid)
}
}
case 8: {
client_cmd(id, "amx_pbcpmenu")
}
}
return PLUGIN_HANDLED
}

public showCTMenu(id, level, cid) {
if (!cmd_access(id, level, cid, 1))
return PLUGIN_HANDLED
new menu[256]
format(menu, 255, "\yPlease choose a Team^n^n\w1. Terrorist^n2. Counter-Terrorist^n^n3. Auto-Assign^n^n\w9. Back^n\w0. Exit")
show_menu(id, ((1<<0)|(1<<1)|(1<<2)|(1<<8)|(1<<9)), menu)
return PLUGIN_HANDLED
}

/*--- Choose Model Menu ------------------------------------------------------*/

public actionCMMenu(id, key) {
new name[32], authid[16]
get_user_name(id, name, 31)
get_user_authid(id, authid, 16)
switch(key) {
case 0: {
g_botModel = 1
if (g_fillServer == 0) {
set_task(0.1, "addSpecificBot", 12121)
log_amx("[POD-Bot] ^"%s<%d><%s><>^" add a bot", name, get_user_userid(id), authid)
client_cmd(id, "amx_pbmenu")
}
else if (g_fillServer == 1) {
set_task(0.1, "fillServer", 12121)
log_amx("[POD-Bot] ^"%s<%d><%s><>^" fill server", name, get_user_userid(id), authid)
}
}
case 1: {
g_botModel = 2
if (g_fillServer == 0) {
set_task(0.1, "addSpecificBot", 12121)
log_amx("[POD-Bot] ^"%s<%d><%s><>^" add a bot", name, get_user_userid(id), authid)
client_cmd(id, "amx_pbmenu")
}
else if (g_fillServer == 1) {
set_task(0.1, "fillServer", 12121)
log_amx("[POD-Bot] ^"%s<%d><%s><>^" fill server", name, get_user_userid(id), authid)
}
}
case 2: {
g_botModel = 3
if (g_fillServer == 0) {
set_task(0.1, "addSpecificBot", 12121)
log_amx("[POD-Bot] ^"%s<%d><%s><>^" add a bot", name, get_user_userid(id), authid)
client_cmd(id, "amx_pbmenu")
}
else if (g_fillServer == 1) {
set_task(0.1, "fillServer", 12121)
log_amx("[POD-Bot] ^"%s<%d><%s><>^" fill server", name, get_user_userid(id), authid)
}
}
case 3: {
g_botModel = 4
if (g_fillServer == 0) {
set_task(0.1, "addSpecificBot", 12121)
log_amx("[POD-Bot] ^"%s<%d><%s><>^" add a bot", name, get_user_userid(id), authid)
client_cmd(id, "amx_pbmenu")
}
else if (g_fillServer == 1) {
set_task(0.1, "fillServer", 12121)
log_amx("[POD-Bot] ^"%s<%d><%s><>^" fill server", name, get_user_userid(id), authid)
}
}
case 4: {
g_botModel = random_num(1, 4)
if (g_fillServer == 0) {
set_task(0.1, "addSpecificBot", 12121)
log_amx("[POD-Bot] ^"%s<%d><%s><>^" add a bot", name, get_user_userid(id), authid)
client_cmd(id, "amx_pbmenu")
}
else if (g_fillServer == 1) {
set_task(0.1, "fillServer", 12121)
log_amx("[POD-Bot] ^"%s<%d><%s><>^" fill server", name, get_user_userid(id), authid)
}
}
case 8: {
client_cmd(id, "amx_pbmenu")
}
}
return PLUGIN_HANDLED
}

public showCMMenu(id, level, cid) {
if (!cmd_access(id, level, cid, 1))
return PLUGIN_HANDLED
new menu[256]
format(menu, 255, (g_botTeam == 1) ? "\yPlease choose a Model^n^n\w1. Phoenix Connektion^n2. L337 Krew^n3. Arctic Avengers^n4. Guerilla Warfare^n^n5. Auto-Select^n^n\w9. Back^n\w0. Exit" : "\yPlease choose a Model^n^n\w1. Seal Team 6(DEVGRU)^n2. German GSG-9^n3. UK SAS^n4. French GIGN^n^n5. Auto-Select^n^n\w9. Back^n\w0. Exit")
show_menu(id, ((1<<0)|(1<<1)|(1<<2)|(1<<3)|(1<<4)|(1<<8)|(1<<9)), menu)
return PLUGIN_HANDLED
}

/*--- Kick Bot Menu ----------------------------------------------------------*/

public actionKBMenu(id, key) {
new name[32], authid[16]
get_user_name(id, name, 31)
get_user_authid(id, authid, 16)
switch(key) {
case 0: {
new blist[32], bnum
get_players(blist, bnum, "de", "TERRORIST")
for (new i = 0; i < bnum; i++) {
server_cmd("pb remove #%d", get_user_userid(blist[i]))
break
}
log_amx("[POD-Bot] ^"%s<%d><%s><>^" kick a bot", name, get_user_userid(id), authid)
client_cmd(id, "amx_pbkbmenu")
}
case 1: {
new blist[32], bnum
get_players(blist, bnum, "de", "CT")
for (new i = 0; i < bnum; i++) {
server_cmd("pb remove #%d", get_user_userid(blist[i]))
break
}
log_amx("[POD-Bot] ^"%s<%d><%s><>^" kick a bot", name, get_user_userid(id), authid)
client_cmd(id, "amx_pbkbmenu")
}
case 2: {
new blist[32], bnum
get_players(blist, bnum, "d")
for (new i = 0; i < bnum; i++) {
server_cmd("pb remove #%d", get_user_userid(blist[i]))
break
}
log_amx("[POD-Bot] ^"%s<%d><%s><>^" kick a bot", name, get_user_userid(id), authid)
client_cmd(id, "amx_pbkbmenu")
}
case 8: {
client_cmd(id, "amx_pbmenu")
}
}
return PLUGIN_HANDLED
}

public showKBMenu(id, level, cid) {
if (!cmd_access(id, level, cid, 1))
return PLUGIN_HANDLED
new menu[256]
format(menu, 255, "\yKick Bot From^n^n\w1. Terrorist^n2. Counter-Terrorist^n^n3. Auto-Select^n^n\w9. Back^n\w0. Exit")
show_menu(id, ((1<<0)|(1<<1)|(1<<2)|(1<<8)|(1<<9)), menu)
return PLUGIN_HANDLED
}

/*--- Weapon Mode Menu -------------------------------------------------------*/

public actionWMMenu(id, key) {
new name[32], authid[16]
get_user_name(id, name, 31)
get_user_authid(id, authid, 16)
switch(key) {
case 0: {
server_cmd("pb weaponmode 1")
log_amx("[POD-Bot] ^"%s<%d><%s><>^" weapon mode: knife", name, get_user_userid(id), authid)
}
case 1: {
server_cmd("pb weaponmode 2")
log_amx("[POD-Bot] ^"%s<%d><%s><>^" weapon mode: pistols", name, get_user_userid(id), authid)
}
case 2: {
server_cmd("pb weaponmode 3")
log_amx("[POD-Bot] ^"%s<%d><%s><>^" weapon mode: shotguns", name, get_user_userid(id), authid)
}
case 3: {
server_cmd("pb weaponmode 4")
log_amx("[POD-Bot] ^"%s<%d><%s><>^" weapon mode: machine guns", name, get_user_userid(id), authid)
}
case 4: {
server_cmd("pb weaponmode 5")
log_amx("[POD-Bot] ^"%s<%d><%s><>^" weapon mode: rifles", name, get_user_userid(id), authid)
}
case 5: {
server_cmd("pb weaponmode 6")
log_amx("[POD-Bot] ^"%s<%d><%s><>^" weapon mode: snipers", name, get_user_userid(id), authid)
}
case 6: {
server_cmd("pb weaponmode 7")
log_amx("[POD-Bot] ^"%s<%d><%s><>^" weapon mode: all weapons", name, get_user_userid(id), authid)
}
case 8: {
client_cmd(id, "amx_pbmenu")
}
}
return PLUGIN_HANDLED
}

public showWMMenu(id, level, cid) {
if (!cmd_access(id, level, cid, 1))
return PLUGIN_HANDLED
new menu[256]
format(menu, 255, "\yWeapon Mode^n^n\w1. Knife^n2. Pistols^n3. Shotguns^n4. Machine Guns^n5. Rifles^n6. Snipers^n^n7. All Weapons^n^n\w9. Back^n\w0. Exit")
show_menu(id, ((1<<0)|(1<<1)|(1<<2)|(1<<3)|(1<<4)|(1<<5)|(1<<6)|(1<<8)|(1<<9)), menu)
return PLUGIN_HANDLED
}
Здраствуйте, помогите пожалуйста. Как сделать точки респавна ботов по дэфолту, кт и т?
И когда зайдут пару людей - они в Спектаторах сидят
 
Последнее редактирование:
Сообщения
3,010
Реакции
1,730
Помог
79 раз(а)
Jimasik, а вей поинты кто создавать будет?
не проще юзнуть zbot?
 
Сообщения
1,543
Реакции
1,543
Предупреждения
1
Помог
2 раз(а)
а вей поинты кто создавать будет?
Сделал бы кто-то таких ботов,как сделали на HL - ParaBot
Не то что не требуют вейпоинты,а они создаются сразу по ходу игры,и бот учится в поведении игрока.
По сути,чем дольше играешь - тем дольше учится,и с каждым разом алгоритмы перезаписываются и добавляются в этот же вейпоинт
 

Пользователи, просматривающие эту тему

Сейчас на форуме нет ни одного пользователя.
Сверху Снизу