You need to find SetBodyGump and check function's properties.
If you make it such as Function(Mobile m, int val, double val2), you need to use like this
-> Function( MobileValue, IntValue, DoubleValue );

m_Mobile.SendGump( new SetBodyGump( m_Property, m_Mobile, m_Object, m_Stack, m_Page, m_List ) );
In this line you need to fill out like this
SetBodyGump( System.Reflection.PropertyInfo, Server.Mobile, Object, System.Collections.Generic.Stack<Server.Gumps.StackEntry>, int, System.Collections.AttayList );

try this script instead of your script.
 

Attachments

  • XmlSetGump.cs
    11.5 KB · Views: 0
Back