DHookParam.Get Method

Get the value of a parameter. Use only for: int, entity, edict, bool or float parameter types.

any Get(int num)

Parameters

int num

Parameter number to get, starting at 1. Parameter number 0 returns the number of parameters.

Return Value

Value if num greater than 0. If 0 returns parameter count. If CBaseEntity returns entity index.

Errors

Invalid handle, invalid param number or invalid param type.