Blockland Forums > Modification Help

Find The Server Host [Solved]

Pages: (1/2) > >>

jes00:

How do you find the server host's name(client sided)?

Amade:

nevermind, I can't figure it out.

Greek2me:

Use string manipulation to get it from the playerlist title.

MegaScientifical:


--- Code: ---%host = getSubStr($ServerInfo::Name, 0, strStr($ServerInfo::Name, "\'"));
--- End code ---


jes00:


--- Quote from: MegaScientifical on December 08, 2011, 11:51:50 PM ---
--- Code: ---%host = getSubStr($ServerInfo::Name, 0, strStr($ServerInfo::Name, "\'"));
--- End code ---

--- End quote ---
How to get the player who is using the add ons name?

Pages: (1/2) > >>

Go to full version