diff --git a/oryx-mini-edit/scripting/oryx.sp b/oryx-mini-edit/scripting/oryx.sp index cb8e5d81..2ad841b7 100644 --- a/oryx-mini-edit/scripting/oryx.sp +++ b/oryx-mini-edit/scripting/oryx.sp @@ -260,15 +260,15 @@ public int Native_OryxTrigger(Handle plugin, int numParams) int level = GetNativeCell(2); char[] sLevel = new char[16]; - char[] sCheatDescription = new char[32]; + char[] sCheatDescription = new char[1024]; - GetNativeString(3, sCheatDescription, 32); + GetNativeString(3, sCheatDescription, 1024); Action result = Plugin_Continue; Call_StartForward(gH_Forwards_OnTrigger); Call_PushCell(client); Call_PushCellRef(level); - Call_PushStringEx(sCheatDescription, 32, SM_PARAM_STRING_COPY, SM_PARAM_COPYBACK); + Call_PushStringEx(sCheatDescription, 1024, SM_PARAM_STRING_COPY, SM_PARAM_COPYBACK); Call_Finish(result); if(result == Plugin_Stop)