Blockland Forums > Modification Help

Clientsided function for when a client joins a game.

Pages: (1/2) > >>

otto-san:

I now need to know the command called when joining a game.

Space Guy:

strLen("this is fun")

%client.instantRespawn();

otto-san:


--- Quote from: Space Guy on March 26, 2011, 03:31:10 PM ---strLen("this is fun")

%client.instantRespawn();

--- End quote ---
Oh duh. I completely forgot about strLen.

okay, thanks

Greek2me:


--- Quote from: otto-san on March 26, 2011, 03:32:05 PM ---Oh duh. I completely forgot about strLen.

--- End quote ---
This is extremely useful for all the string stuff.

As for the client-sided joining function, try onConnectionAccepted. I'm think that's right, but I've got no clue about the arguements for it.

otto-san:


--- Quote from: Greek2me on March 26, 2011, 04:48:48 PM ---This is extremely useful for all the string stuff.

As for the client-sided joining function, try onConnectionAccepted. I'm think that's right, but I've got no clue about the arguements for it.

--- End quote ---

Ooh, thanks. That'll really help me.

Pages: (1/2) > >>

Go to full version