1921
Modification Help / Spawn Bricks
« on: April 03, 2010, 05:53:30 AM »
I have this idea of making people spawn at spawn points on my server, while I am not in the mini. Bricks owners have to be included in the mini for people to spawn on their spawn points, so I am attempting to transform the player to the brick if it exists. It keeps failing.
I am very new to coding, so I have absolutely no idea of what I wrote down on my script, XD... Can you please help? Thanks.
Code: [Select]
function brickTDMTeam1SpawnPointData::spawnPlayer(%this, %obj)
{
if(isObject(brickTDMTeam1SpawnPointData))
{
%this.getTransform();
%obj.setTransform(%this);
}
}
I am very new to coding, so I have absolutely no idea of what I wrote down on my script, XD... Can you please help? Thanks.