Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Problem with Coding


Kemerd
 Share

Recommended Posts

It's telling me that the Argument is not optional in mod general on

```

If ConnectToServer(1) Then

Call SetStatus(strConnectedAddChar)

Call SendAddChar(sChar, SEX_MALE, newCharClass, newCharSprite)

Call SetPlayerHair(I, buffer.ReadLong)

End If

```

with the line

```

Call SendAddChar(sChar, SEX_MALE, newCharClass, newCharSprite)

```

I didn't modify that. I was adding the CS:DE hair customization system to Eclispe Reborn.
Link to comment
Share on other sites

Argument not optional means you missed an parameter of the sub that your calling which is necessary. In this case the sub SendAddChar.

As much as I would like to just give you the solution, it would be better to understand what I said and then correct the mistake.
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...