DHookSetParam

Last Updated2022-04-20
Created At2021-11-17

Set param value (Use only for: int, entity, edict, bool or float param types) An entity param type can be set to NULL using INVALID_ENT_REFERENCE (-1).

native void DHookSetParam(Handle hParams, int num, any value)

Parameters

Handle hParams
Handle to params structure
int num
Param number to set (Example if the function has 2 params and you need to set the value of the first param num would be 1.)
any value
Value to set it as (only pass int, bool, float or entity index)

Return Value

void

Error

Invalid handle. Invalid param number. Invalid param type.