Author Topic: Get Id from cmd  (Read 761 times)

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.

Code: [Select]
function serverCmdId(%client, %name)
{
  messageClient(%client,'',findclientbyname(%name).bl_id);
}

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.

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.
loving herderdurp.

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

loving herderdurp.

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

Too bad.

I'm not quite sure how to do this, and i want to learn, but you'd have to set up a tcpobject that searches like, kalphiter's or returntoblockland's id databases which searches for it.. i'm not quite sure, but thats how i've been told.

loving herderdurp.

It's in coding help. Not Help. He wants coding for a script.
Why would you need a completely useless script.
WHY.
Especially when there's already a built-in function that handles it...

Why would you need a completely useless script.
WHY.
Especially when there's already a built-in function that handles it...
Possibly for something like a GUI? God damnit.

I'm not quite sure how to do this, and i want to learn, but you'd have to set up a tcpobject that searches like, kalphiter's or returntoblockland's id databases which searches for it.. i'm not quite sure, but thats how i've been told.

This is correct.