diff --git a/scripting/eventqueuefix.sp b/scripting/eventqueuefix.sp index d05fbe8..18535f3 100644 --- a/scripting/eventqueuefix.sp +++ b/scripting/eventqueuefix.sp @@ -4,7 +4,7 @@ #define PLUGIN_NAME "EventQueue fix" #define PLUGIN_AUTHOR "carnifex" #define PLUGIN_DESCRIPTION "" -#define PLUGIN_VERSION "1.3.2" +#define PLUGIN_VERSION "1.3.3" #define PLUGIN_URL "" #include @@ -249,6 +249,13 @@ public void ResolveVariantValue(Handle ¶ms, event_t event) IntToString(iVar, event.variantValue, sizeof(event.variantValue)); } + //Color32 + case 9: + { + int iVar = DHookGetParamObjectPtrVar(params, 3, 0, ObjectValueType_Int); + FormatEx(event.variantValue, sizeof(event.variantValue), "%d %d %d", (iVar&0xFF), (iVar&0xFF00) >> 8, (iVar&0xFF0000) >> 16); + } + default: { DHookGetParamObjectPtrString(params, 3, 0, ObjectValueType_String, event.variantValue, sizeof(event.variantValue));