This site has been archived and made available for preservation purposes. No edits can be made.

OnSpawn

(Difference between revisions)
Return to current revision
  1. -
    Gets called when an Object spawns (after [[OnPlayerRequestGame]] if the [[Object]] is a [[Player]]).

    == Declaration ==
    <code cpp>
    VAULTSCRIPT void OnSpawn(vaultmp::ID);
    forward OnSpawn(ID);
    </code>
    == Parameters ==

    '''[[ID|vaultmp::ID]]''' - the ID of the [[Object]]

    == Return value ==

    None.