Author Topic: getclientbyname?  (Read 1516 times)

To make me large I'd type:

getclientbyname(Azjherben).player.setplayerscale("15 15 15");


It does not work.
I am typing 'getclientbyname' wrong?

I think your missing some qoutes

?
Around the name?


Quote
UNABLE TO FIND FUNCTION GETCLIENTBYNAME

i reallly don't know just find the correct code and paste it into console


I don't know the correct code.
And I am using the console.

Try:

Code: [Select]
findClientByName("Azjherben").player.setPlayerScale("5 5 5");
The maximum you can scale to is 5 I think.

Try:

Code: [Select]
findClientByName("Azjherben").player.setPlayerScale("5 5 5");
The maximum you can scale to is 5 I think.
The maximum scale is 5, and you don't need the quotes around the players name.

The maximum scale is 5, and you don't need the quotes around the players name.

Well, not technically, if it's only one word. Any single-word parameter is automatically converted to a string.

findClientByName(Truce).blah works
findClientByName(Truce The Mighty).blah does not work
findClientByName("Truce The Mighty").blah works

However just putting Mighty will still find "Truce The Mighty" unless there is someone whose name also includes "Mighty" and was in the server first.

I think your missing some qoutes

Come now you should know better than that.

Come now you should know better than that.
I don't script Br0