Author Topic: Minigame names off  (Read 790 times)

I need a console command that sets the name distance to 0 for a given player in a minigame

Currently, findclientbyname(block).player.setShapeNameDistance(0); doesn't work in minigames.

I also can't use slayer as I need the simple tdm add on for the game i'm creating.
« Last Edit: October 23, 2015, 07:14:32 PM by Block Aloni »

What's wrong with
findclientbyname(block).player.setShapeNameDistance(0);

What's wrong with
The code executes but nothing actually happens. The names are just still there in red. The code only works outside of minigames.

I tested it myself. It works as intended. Are you doing the code properly?

I tested it myself. It works as intended. Are you doing the code properly?
Typing this in in console.

findclientbyname(block).player.setShapeNameDistance(0);

perhaps it's a conflicting add on?


Do a trace.
Trace? You mean find out what it might be? how?

Enter trace(1); in console, enter the command and see if there are any packages the function enters.

Enter trace(1); in console, enter the command and see if there are any packages the function enters.
I'm getting thousands of lines of code listing "leaving and entering", do I just let it run and what exactly am I looking for?

Here's what I'm typing in console:

trace(1);findclientbyname(block).player.setShapeNameDistance(0);
« Last Edit: October 23, 2015, 07:35:29 PM by Block Aloni »

first you enter
" trace(1);" in the console all on its own

then you do that "findclientbyname(block).player.setShapeNameDistance(0);" thing you want to do



...i think


simple tdm add on
the old space guy one? that takes me back....

findclientbyname("Deokotaru").player.setShapeNameDistance(0);