attempting to make a plugin to spawn giants
#3
Hi, welcome to the forum!

The reason it's giving an error is because you're calling 'SpawnMob' on a player object. What you want is the world object, probably the world of the player on which you're trying to spawn a monster on. So this line:

Player:SpawnMob(giant)

would have to be replaced with something like this:
Giantee:GetWorld():SpawnMob(Giantee:GetPosX(), Giantee:GetPosY(), Giantee:GetPosZ(), mtGiant, false);
Reply
Thanks given by: Code_Blue


Messages In This Thread
RE: attempting to make a plugin to spawn giants - by NiLSPACE - 07-14-2021, 03:15 AM



Users browsing this thread: 2 Guest(s)