am I doing something wrong? with the below code, using the flashtools-0.0.4, I get errors.
public Action:OnGetPercentageOfFlashForPlayer(client, entity, Float:pos, &Float:percent)
new owner = GetEntPropEnt(entity, Prop_Send, "m_hOwnerEntity");
// Had to add this check because sometimes client -1 is passed.
if (owner <= 0 || owner > MaxClients)
PrintToChatAll("%N's flashbang flashed %N by %f percent", owner, client, percent);
I would expect something like 50% or 87.62% or something - maybe I'm missing something or messed something up.