Thread: BaseMount
View Single Post
Old 08-16-2004, 07:35 AM   #12 (permalink)
joshma2
 
Join Date: Jul 2004
Age: 18
Posts: 39
Default

lets see. It looks like this because I use a custom playermobile


Code:
 Ancient
        }

	public class CustomPlayerMobile : PlayerMobile
{

	private class CustomPlayerMobile : BaseMount
	

		#region Vampires
I tried different variations of this but none worked. My C# book says nothing about this so im lost.

Errors are

Error: Scripts\Mobiles\CustomPlayerMobile.cs CS1514 (Line 57, column 46) { Expected
Error: Scripts\Mobiles\CustomPlayerMobile.cs CS1513 (Line 839 , column 2) } expected
Error: Scripts\Mobiles\CustomPlayerMobile.cs CS0542 (Line 57, column 16) 'CustomPlayerMobile': member names cannon be the same as their enclosing type

Line 57 =
private class CustomPlayerMobile : BaseMount

Line 839 = } (End of the script)

There.
joshma2 is offline   Reply With Quote