Jump to content

Question


xeon17

Recommended Posts

There's no onAccountCreate. To create an account for a player you have to first create the account, using addAccount then logIn to log the player in. You'll have to modify the code where the account is created for the player to spawn him and give him the weapons.

Link to comment

You can create it manually by using: triggerEvent. That would look something like this:

account addAccount ( string name, string pass ) 
triggerEvent ( "onAccountCreate", root ) 

This however, is only useful if you planning to do anything in another resource during account creation, otherwise do as JR10 said.

Link to comment

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...