Name Completion & Some More

Author Topic: Name Completion & Some More  (Read 5940 times)

Here's what I use to finish names.
you cant just use findclientbyname and then get the name of the client it finds?

dont download these they give ur computer AIDS

dont download these they give ur computer AIDS
no ur hiv positive

you cant just use findclientbyname and then get the name of the client it finds?
1. findClientByName is server sided.
2. It returns a client, not a name.

1. findClientByName is server sided.
2. It returns a client, not a name.
first one ok, ya

second, $target = findclientbyname(richards).name;
or im tired and that doesnt work

%client.name is not recommended to use.

Either way Jes00 is mentioning about the client side because you can't find clients since there is no default function, so you have to make one your own.
« Last Edit: September 15, 2015, 07:20:11 PM by Kyuande »

I was just trying to make it like findClientByName, do you think yours would be better?
Dunno. Yours won't work if the person's name is -1. Mine will.
%client.name is not recommended to use.
Use %client.getPlayerName() instead.

im confused on wha tname completion is? im on mobile so i cant download it to figure it out pls explain

im confused on wha tname completion is? im on mobile so i cant download it to figure it out pls explain
I think I did a good job of explaining it in the op lol. But it takes the last word you have typed in the chat and tries to turn it into the name of a player on the server you're on.

I think I did a good job of explaining it in the op lol. But it takes the last word you have typed in the chat and tries to turn it into the name of a player on the server you're on.
ok sorry, i dont grasp things alot the first time

Dunno. Yours won't work if the person's name is -1. Mine will.Use %client.getPlayerName() instead.

what kind of cigarette would intentionally name himself -1

Well, unless you did something like "Johnny-1"

-snip-

OH MY GOD I AM AN EXAMPLE YAAAAAAAAAAAAAAAAAAAAAAAAAAY

Also, sorry for the bump


dont download these they give ur computer AIDS
Oh, I'm positive.PUNPUNPUNPUNPUNPUNPUNPUNPUNPUNPUNPUNPUNPUNPUNPUNPUNPUNPUNPUN