PDA

View Full Version : [TF2] Compile error can't detect if a player is not a miniboss


Michalplyoutube
10-20-2014, 10:52
I m keep getting when i try to compile
// D:\TF2Server\server\tf\addons\sourcemod\scrip ting\tf2bwr.sp(3819) : error 028
: invalid subscript (not an array or too many subscripts): "false"

if( IsValidRobot(client) && ( GetEntProp( client, Prop_Data, "m_bIsMiniBoss" ) == _:false )

Anyway to fix it?

pheadxdll
10-20-2014, 13:59
if(bool:GetEntProp(client, Prop_Send, "m_bIsMiniBoss") == false)
if(!GetEntProp(client, Prop_Send, "m_bIsMiniBoss"))

Michalplyoutube
10-20-2014, 14:11
Thanks