Sets an object's variable value.
The changes are only applied when MRES_ChangedHandled or MRES_ChangedOverride is returned in the callback.
void SetObjectVar(int num, int offset, ObjectValueType type, any value)
Parameter number to set, starting at 1.
Byte offset within the object to the var to set.
Type of var it is.
The value to set the var to.
Invalid handle, invalid param number, invalid param type or invalid Object type.
This documentation was generated automatically using pawn-docgen written by xPaw for AlliedMods.