Blockland Forums > Modification Help
**SOLVED** Changing something's name, exec(); problems **SOLVED**
(1/2) > >>
Scars75:
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?
Daenth:
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.
infiniteLoop:

--- Quote from: Daenth on July 30, 2011, 02:43:21 PM ---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.


--- End quote ---

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.
Scars75:

--- Quote from: Daenth on July 30, 2011, 02:43:21 PM ---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.


--- End quote ---
Could I set a shape name and color for other objects, such as vehicles or bricks?
Scars75:

--- Quote from: Scars75 on July 30, 2011, 02:50:03 PM ---Could I set a shape name and color for other objects, such as vehicles or bricks?

--- End quote ---
Navigation
Message Index
Next page

Go to full version