Author Topic: What's the code to check the BL_ID?  (Read 488 times)

What is the code the check a player's BL_ID.

Code: [Select]
echo(findClientByName("playername").bl_id);


Code: [Select]
echo(findClientByName("playername").bl_id);
Echo? Isn't echo for displaying something in the console?


Echo? Isn't echo for displaying something in the console?
You can do

Code: [Select]
%client.BL_ID
Or

Code: [Select]
findclientbyname(name).BL_ID)
Both will return the clients Blockland ID

Code: [Select]
findclientbyname(name).BL_ID)
So would could I do findclientbyname(%client).BL_ID ?

So would could I do findclientbyname(%client).BL_ID ?
Not unless your variable for %client is a name.

If you actually have %client the way to would get it is %client.BL_ID
If you have the persons name you would do findclientbyname(%name).BL_ID

So would could I do findclientbyname(%client).BL_ID ?
please don't ever do findclientbyname(%client.name)
just... fyi.