ftt: changes

This commit is contained in:
Jackzie 2022-03-15 10:55:46 -05:00
parent c153dddee2
commit 2593421f65
No known key found for this signature in database
GPG key ID: 1E834FE36520537A
4 changed files with 10 additions and 5 deletions

Binary file not shown.

View file

@ -164,10 +164,9 @@ public Action Command_WitchAttack(int client, int args) {
int witch = INVALID_ENT_REFERENCE;
while ((witch = FindEntityByClassname(witch, "witch")) != INVALID_ENT_REFERENCE) {
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{
ReplyToTargetError(client, target_count);
}

View file

@ -347,7 +347,7 @@ void SetupCategoryMenu(int client, int victimUserID) {
void ShowTrollCombosMenu(int client, int victimUserID) {
Menu comboMenu = new Menu(ChooseComboHandler);
static char id[32];
Format(id, sizeof(id), "%N: Choose troll combo", GetClientOfUserId(victimUserID));
Format(id, sizeof(id), "Choose troll combo");
comboMenu.SetTitle(id);
static TrollCombo combo;

View file

@ -32,7 +32,13 @@ void SetupTrolls() {
Trolls[index].AddFlag("Biles", true);
Trolls[index].AddFlag("Molotovs", 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);
Trolls[index].AddFlagPrompt(false);
Trolls[index].AddFlag("UZI Only", true);