Change Villager's name
#5
(08-02-2018, 05:27 AM)NiLSPACE Wrote: Did you actually use <world>:DoWithEntityByID? Because simply defining a function doesn't immediately call it.

I did...

Code:
Player:GetWorld():DoWithEntityByID(Player:GetWorld():SpawnMob(Player:GetPosX(), Player:GetPosY(), Player:GetPosZ(), mtVillager, false), ChangeVillager)

I do know how to code, but I'm new to LUA and Cuberite.
Reply
Thanks given by:


Messages In This Thread
Change Villager's name - by MGlolenstine - 08-01-2018, 10:46 PM
RE: Change Villager's name - by NiLSPACE - 08-02-2018, 02:19 AM
RE: Change Villager's name - by MGlolenstine - 08-02-2018, 05:20 AM
RE: Change Villager's name - by NiLSPACE - 08-02-2018, 05:27 AM
RE: Change Villager's name - by MGlolenstine - 08-02-2018, 05:40 AM
RE: Change Villager's name - by xoft - 08-02-2018, 06:36 AM
RE: Change Villager's name - by NiLSPACE - 08-02-2018, 06:45 AM
RE: Change Villager's name - by MGlolenstine - 08-02-2018, 06:55 AM
RE: Change Villager's name - by xoft - 08-02-2018, 07:01 AM
RE: Change Villager's name - by MGlolenstine - 08-02-2018, 07:05 AM
RE: Change Villager's name - by NiLSPACE - 08-02-2018, 04:20 PM
RE: Change Villager's name - by MGlolenstine - 08-02-2018, 05:34 PM
RE: Change Villager's name - by NiLSPACE - 08-02-2018, 09:47 PM
RE: Change Villager's name - by MGlolenstine - 08-02-2018, 11:13 PM
RE: Change Villager's name - by xoft - 08-02-2018, 11:31 PM
RE: Change Villager's name - by NiLSPACE - 08-03-2018, 01:22 AM
RE: Change Villager's name - by MGlolenstine - 08-03-2018, 06:05 PM
RE: Change Villager's name - by xoft - 08-07-2018, 05:23 AM



Users browsing this thread: 3 Guest(s)