| 955 | COMMAND(addnbot, "sss"); |
| 956 | |
| 957 | void botsshoot(int *Shoot) |
| 958 | { |
| 959 | switch(*Shoot) |
| 960 | { |
| 961 | case 0: |
| 962 | BotManager.SetBotsShoot(false); |
| 963 | conoutf("Bots won't shoot"); |
| 964 | break; |
| 965 | case 1: |
| 966 | BotManager.SetBotsShoot(true); |
| 967 | conoutf("Bots will shoot"); |
| 968 | break; |
| 969 | default: |
| 970 | intret(BotManager.BotsShoot()); break; |
| 971 | } |
| 972 | } |
| 973 | |
| 974 | COMMAND(botsshoot, "i"); |
| 975 |
nothing calls this directly
no test coverage detected