Blockland Forums > Modification Help
A function that will be executed once a client enters the game
(1/2) > >>
TheStranger:
Is there a function that will execute upon a client's entry, like this?

function onClientEntry(%client) {
   [Code goes here]
}

If there is, please post it here.
Amade:
gameConnection::autoAdminCheck(%client)

Make sure to return the parent.
jes00:
I prefer using  function secureClientCmd_ClientJoin(%client,%num,%ID).
MegaScientifical:

--- Quote from: jes00 on October 25, 2011, 07:34:35 AM ---I prefer using  function secureClientCmd_ClientJoin(%client,%num,%ID).

--- End quote ---

That is clientside. Amade's command is serverside. Totally different in terms of what you're looking for. Also, as a courtesy, most scripters avoid that command since Badspot decided to mark it with "secure."
jes00:

--- Quote from: MegaScientifical on October 25, 2011, 07:38:39 AM ---most scripters avoid that command since Badspot decided to mark it with "secure."

--- End quote ---
Why?
Navigation
Message Index
Next page

Go to full version