DHookGetParam Function

Get param value (Use only for: int, entity, edict, bool or float param types)

any DHookGetParam(Handle hParams, int num)

Parameters

Handle hParams

Handle to params structure

int num

Param number to get. (Example if the function has 2 params and you need the value of the first param num would be 1. 0 Will return the number of params stored)

Return Value

value if num greater than 0. If 0 returns paramcount.

Errors

Invalid handle. Invalid param number. Invalid param type.