Thread: C4 Taker
View Single Post
Black Rose
Veteran Member
Join Date: Feb 2011
Location: Stockholm, Sweden
Old 05-26-2016 , 16:52   Re: C4 Bot Taker - joaquimandrade and ConnorMcLeod
Reply With Quote #3

const MaxSlots = 32
get_maxplayers(), unless pHit only returns players, then it's not even necessary to check.

new Float:MaxDistance = 200.0
cvar is never a bad idea, no big deal though.

num[] is never reset for new players that might inherit an old id.

Is it possible to aim at a dead player in StatusValue? (I don't actually know. I'm just checking if you checked)

Other than that, afaik, looks good.
__________________
Black Rose is offline