From d980e779a5a5196549cd80da36fa42a673e126b2 Mon Sep 17 00:00:00 2001 From: gsd Date: Thu, 22 Jun 2023 21:37:57 +0300 Subject: [PATCH] huy --- roboniggers.sp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/roboniggers.sp b/roboniggers.sp index cfefa74..a8a4c61 100644 --- a/roboniggers.sp +++ b/roboniggers.sp @@ -18,7 +18,7 @@ public void OnMapStart() { public void OnPluginStart() { HookEvent("post_inventory_application", Event_SpawnNigger, EventHookMode_Post); - HookEvent("round_start", Event_ReplaceBomb); + //HookEvent("round_start", Event_ReplaceBomb); } public void AddFemPyroToDownload(bool:logging){ @@ -195,8 +195,7 @@ public Action:ChangeWatermalon(Handle:hTimer, any:data) { int ent = -1; while ((ent = FindEntityByClassname2(ent, "item_teamflag")) != -1) { if (IsValidEntity(ent)) { - SetVariantString("models/props_junk/watermelon01.mdl"); - AcceptEntityInput(ent, "flag_model"); + SetEntPropString(ent, Prop_Data, "flag_model", "models/props_junk/watermelon01.mdl"); } } if (ent == -1) PrintToServer("Cannot find bomb");