Author Topic: How to set like a peice of text on something with eval  (Read 2220 times)

/\
||
||
Thats the question like when you do /getid then you can set a peice of text with Eval
What is that code?

Please make more sense.  I can't tell what you're trying to say.

Ok i was on my friends server and somebody did a Eval code to make a vehicle name something
Like your name on your player
What is that eval code?

Oh, he set a shapename above it. It's somewhere in the Time bomb code but I'm too lazy to find it for you.

I think

Oh, he set a shapename above it. It's somewhere in the Time bomb code but I'm too lazy to find it for you.

I think

Oh, I thought shape name doesn't work anymore. Might just be with clients, not sure.

Tom

Oh, I thought shape name doesn't work anymore. Might just be with clients, not sure.
It does not work with players/AIplayers.

It does not work with players/AIplayers.
Yes, that's what I mean and thought.

objectshapename I think. Check out the time bomb script.

Tom

.setShapeName();

Im talking with eval
And yes it is something with setshapename in it and some kind of id

Name the brick. (example thisbrick)
Spawn a vehicle.
Type in eval:
_yourbrickname.vehicle.setSha peName("Stuff");
(example _thisbrick.)

Yea
But you can do it from special IDs that you get by looking at it and saying /getid


Name the brick. (example thisbrick)
Spawn a vehicle.
Type in eval:
_yourbrickname.vehicle.setSha peName("Stuff");
(example _thisbrick.)

Chrono is thinking too complicated.

Look at your vehicle
Say /getid (I'm gonna say 34114 just as an example.)
So we do:
34114.setShapeName("HaHaBitchezImalovingJeep!");

This won't work on a horse or the tank turret, or any other AI player.