Gets called when a
Player requests to play on this server (before
OnSpawn and after
OnClientAuthenticate). It is recommended to make sure that every
Player gets a unique
vaultmp::Base.
<code cpp>
VAULTSCRIPT vaultmp::Base OnPlayerRequestGame(vaultmp::ID);
forward OnPlayerRequestGame(ID);
</code>
vaultmp::ID - the ID of the
Player
You have to return a
vaultmp::Base. This is the model which will represent the
Player in-game.
<code cpp>
vaultmp::Base VAULTSCRIPT OnPlayerRequestGame(vaultmp::ID player)
{
vaultmp::Base base = 0x00000000;
base = 0x00030D82; // Carter from Fallout 3
return base;
}
</code>