mirror of
https://github.com/Jackzmc/sourcemod-plugins.git
synced 2025-05-06 16:43:21 +00:00
ftt: changes
This commit is contained in:
parent
c153dddee2
commit
2593421f65
4 changed files with 10 additions and 5 deletions
Binary file not shown.
|
@ -164,10 +164,9 @@ public Action Command_WitchAttack(int client, int args) {
|
||||||
int witch = INVALID_ENT_REFERENCE;
|
int witch = INVALID_ENT_REFERENCE;
|
||||||
while ((witch = FindEntityByClassname(witch, "witch")) != INVALID_ENT_REFERENCE) {
|
while ((witch = FindEntityByClassname(witch, "witch")) != INVALID_ENT_REFERENCE) {
|
||||||
SetWitchTarget(witch, target);
|
SetWitchTarget(witch, target);
|
||||||
|
|
||||||
ShowActivityEx(client, "[FTT] ", "set all witches to target %s", target_name);
|
|
||||||
LogAction(client, target, "\"%L\" set all witches to attack \"%L\"", client, target);
|
|
||||||
}
|
}
|
||||||
|
ShowActivityEx(client, "[FTT] ", "set all witches to target %s", target_name);
|
||||||
|
LogAction(client, target, "\"%L\" set all witches to attack %s", client, target_name);
|
||||||
}else{
|
}else{
|
||||||
ReplyToTargetError(client, target_count);
|
ReplyToTargetError(client, target_count);
|
||||||
}
|
}
|
||||||
|
|
|
@ -347,7 +347,7 @@ void SetupCategoryMenu(int client, int victimUserID) {
|
||||||
void ShowTrollCombosMenu(int client, int victimUserID) {
|
void ShowTrollCombosMenu(int client, int victimUserID) {
|
||||||
Menu comboMenu = new Menu(ChooseComboHandler);
|
Menu comboMenu = new Menu(ChooseComboHandler);
|
||||||
static char id[32];
|
static char id[32];
|
||||||
Format(id, sizeof(id), "%N: Choose troll combo", GetClientOfUserId(victimUserID));
|
Format(id, sizeof(id), "Choose troll combo");
|
||||||
comboMenu.SetTitle(id);
|
comboMenu.SetTitle(id);
|
||||||
|
|
||||||
static TrollCombo combo;
|
static TrollCombo combo;
|
||||||
|
|
|
@ -32,7 +32,13 @@ void SetupTrolls() {
|
||||||
Trolls[index].AddFlag("Biles", true);
|
Trolls[index].AddFlag("Biles", true);
|
||||||
Trolls[index].AddFlag("Molotovs", true);
|
Trolls[index].AddFlag("Molotovs", true);
|
||||||
Trolls[index].AddFlag("Pipebombs", true);
|
Trolls[index].AddFlag("Pipebombs", true);
|
||||||
SetupTroll("No Pickup", "Prevents a player from picking up ANY (new) item. Use ThrowItAll to make them drop", TrollMod_Constant);
|
index = SetupTroll("No Pickup", "Prevents a player from picking up ANY (new) item. Use ThrowItAll to make them drop", TrollMod_Constant);
|
||||||
|
Trolls[index].AddFlagPrompt(true);
|
||||||
|
Trolls[index].AddFlag("No Primary", false);
|
||||||
|
Trolls[index].AddFlag("No Melee", false);
|
||||||
|
Trolls[index].AddFlag("No Throwables", false);
|
||||||
|
Trolls[index].AddFlag("No Kits", false);
|
||||||
|
Trolls[index].AddFlag("No Pills / Adr", false);
|
||||||
index = SetupTroll("UziRules / AwpSmells", "Picking up a weapon gives them a UZI or AWP instead", TrollMod_Constant);
|
index = SetupTroll("UziRules / AwpSmells", "Picking up a weapon gives them a UZI or AWP instead", TrollMod_Constant);
|
||||||
Trolls[index].AddFlagPrompt(false);
|
Trolls[index].AddFlagPrompt(false);
|
||||||
Trolls[index].AddFlag("UZI Only", true);
|
Trolls[index].AddFlag("UZI Only", true);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue