Author Topic: **SOLVED** Changing something's name, exec(); problems **SOLVED**  (Read 963 times)

How do I change the text that appears over something? For example, my username appears over my player's head. How do I change that?

Also, I'm having problems with the exec function. Whenever I try to use it, it says the file I'm trying to exec is missing.
Example:
exec("Add-Ons/Script_Blah/server.cs");
Missing file: Add-Ons/Script_Blaj/server.cs!

How do I fix that?
« Last Edit: July 30, 2011, 07:47:26 PM by Scars75 »

Can't change the shape name of your player, it is protected in the default scripts.

Also, for your exec issue, you might need to restart Blockland to get it to work.

Can't change the shape name of your player, it is protected in the default scripts.

Also, for your exec issue, you might need to restart Blockland to get it to work.


Or instead of restarting just type this:

setModPaths(getModPaths()); exec("add-ons/script_blah/server.cs");

Datablocks will need a mission reset, simply changing the map will work.

Can't change the shape name of your player, it is protected in the default scripts.

Also, for your exec issue, you might need to restart Blockland to get it to work.

Could I set a shape name and color for other objects, such as vehicles or bricks?

Could I set a shape name and color for other objects, such as vehicles or bricks?

Why not try it, and stop double posting.

It is %object.setShapeName("something"),