View Single Post
Edison1318
Senior Member
Join Date: Nov 2015
Location: Peaceful place of the internet
Old 04-13-2017 , 20:34   Re: [L4D2] BotGrenades 1.3
Reply With Quote #20

Quote:
Originally Posted by Windy Wind View Post
Ok, so here it is. Well, It would increase the chance of them actually throwing pipe bomb at the hordes, sometimes they do miss
Oh and I made them automatically throw their pipe bomb without order from players if certain conditions are met too.
Thanks, and somehow your plugin somehow showing a spam error

L 04/14/2017 - 08:22:19: [SM] Exception reported: Entity -1 (-1) is invalid
L 04/14/2017 - 08:22:19: [SM] Blaming: l4d2_bot_improved_grenade_V2.smx()
L 04/14/2017 - 08:22:19: [SM] Call stack trace:
L 04/14/2017 - 08:22:19: [SM] [0] GetEntPropString
L 04/14/2017 - 08:22:19: [SM] [1] Line 732, d:\destop\megas\addons\sourcemod\scripting\in clude\entity.inc::GetEntityClassname()
L 04/14/2017 - 08:22:19: [SM] [2] Line 32, D:\Destop\Megas\addons\sourcemod\scripting\l4 d2_bot_improved_grenade_V2.txt::OnPlayerRunCm d()
I managed to fix that part that you forgot to add IsValidEntity.

And thanks for helping me code for the bots to throw pipebomb at the hordes too. I don't really need the bots to shout at the chat text so i'm gonna remove that.
__________________
EdisonGar
Edison1318 is offline
Send a message via Skype™ to Edison1318