Author Topic: Roblox player Datablock name?  (Read 1068 times)

Is it Player_Robloxian
Robloxian_Armor?



cause im trying to find out the datablock name so i can add it as a job in my city rp.

Look in the script files and find it yourself.
1. It's very easy to find
2. Not everyone memorizes datablock names off other players add-ons, or even has them to look it up themselves.

I looked through the script but there was multiple names thats why im lost :S

Quote
datablock PlayerData(datablockname)
{
    stuff
};

Look for something where datablockname sounds like what you're looking for.
If there are multiple names, its probably something like normal, one with no jets, etc. Choose what you need.

Try setting yourself as the robo player then do

echo(fileName(serverConnection.getControlOb ject().getDataBlock().shapefile));

i think that should work.

Try setting yourself as the robo player then do

echo(fileName(serverConnection.getControlOb ject().getDataBlock().shapefile));

i think that should work.
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());

echo(serverConnection.getControlOb ject().getDatablock().getName());
Really? Because datablocks don't have names client-sided.

Really? Because datablocks don't have names client-sided.
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.