Jump to content

Spawn Monster On player


Recommended Posts

Does anyone know the script to spawn a monster on a players location that isn't the admin himself. For example if the admin isn't on the server but has access to remote console to spawn an entity or mob on the players location. c_spawn() doesn't work unless I'm in the server or it spawns on my location

Link to comment
Share on other sites

On 7/17/2019 at 3:09 PM, Ermac__ said:

Does anyone know the script to spawn a monster on a players location that isn't the admin himself. For example if the admin isn't on the server but has access to remote console to spawn an entity or mob on the players location. c_spawn() doesn't work unless I'm in the server or it spawns on my location

 

If you can use another command to get the plays position, you can do c_spawn("prefab",nil,All players[1]).Transform:Set position(x, y, z)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...