Blockland Forums > Modification Help

Get Id from cmd

Pages: (1/2) > >>

xcruso:

Hello

Is there away to get a client sided command that makes you type  /id name

and it pops up bl_id for the name you type inn.

Please tell my any working ways to do, if it is possible at all.

otto-san:


--- Code: ---function serverCmdId(%client, %name)
{
  messageClient(%client,'',findclientbyname(%name).bl_id);
}
--- End code ---


Wheatley:

Otto, that's a server-side command.

There's a handy check-box in the options menu:

Press Ctrl+O (default keybind to open options)
Go to the Advanced Tab.
Scroll down until you find the "Gui Options" section.
Near the bottom of the section, there's a check-box that says "Show BL_IDs in player list"
Check the box, then hit the "Done" button.
Now, any time you press F2, the player's BL_ID will show up next to their name.

Bloxxed:


--- Quote from: Wheatley on July 22, 2011, 07:40:49 PM ---Otto, that's a server-side command.

There's a handy check-box in the options menu:

Press Ctrl+O (default keybind to open options)
Go to the Advanced Tab.
Scroll down until you find the "Gui Options" section.
Near the bottom of the section, there's a check-box that says "Show BL_IDs in player list"
Check the box, then hit the "Done" button.
Now, any time you press F2, the player's BL_ID will show up next to their name.

--- End quote ---
loving herderdurp.

It's in coding help. Not Help. He wants coding for a script.

Nexus:


--- Quote from: Bloxxed on July 25, 2011, 08:51:04 PM ---loving herderdurp.

It's in coding help. Not Help. He wants coding for a script.

--- End quote ---

Too bad.

Pages: (1/2) > >>

Go to full version