Blockland Forums > Modification Help
Roblox player Datablock name?
Headcrab Zombie:
--- Quote from: herb on July 23, 2010, 07:23:35 PM ---Try setting yourself as the robo player then do
echo(fileName(serverConnection.getControlOb ject().getDataBlock().shapefile));
i think that should work.
--- End quote ---
An interesting idea that I didn't think of, except he's looking for a datablock name, not shapefilename, which would be a ton easier to figure out from looking at the files.
Use this
echo(serverConnection.getControlOb ject().getDatablock().getName());
Kalphiter:
--- Quote from: Headcrab Zombie on July 23, 2010, 07:27:06 PM ---echo(serverConnection.getControlOb ject().getDatablock().getName());
--- End quote ---
Really? Because datablocks don't have names client-sided.
Headcrab Zombie:
--- Quote from: Kalphiter on July 23, 2010, 07:32:36 PM ---Really? Because datablocks don't have names client-sided.
--- End quote ---
If he's doing it on his own server, it will work just fine.
And since he needs to know it for his own server, I'd assume he'd be on his own server.