changed length of the cheat param cell to get entire message
This commit is contained in:
		
							parent
							
								
									2c5820dd3d
								
							
						
					
					
						commit
						3270eda941
					
				@ -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)
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user