How to use GetLastBedPos()
#2
You need to explicitly log the individual values:
1
2
local lastBedPos = Player:GetLastBedPos()
LOG(string.format("%s Bed: [%d, %d, %d]", Player:GetName(), lastBedPos.x, lastBedPos.y, lastBedPos.z))
(I prefer using string.format to concatenation, but either should work)
Reply
Thanks given by: moiko89


Messages In This Thread
How to use GetLastBedPos() - by moiko89 - 05-14-2017, 01:07 AM
RE: How to use GetLastBedPos() - by xoft - 05-14-2017, 01:27 AM
RE: How to use GetLastBedPos() - by moiko89 - 05-14-2017, 01:38 AM
RE: How to use GetLastBedPos() - by xoft - 05-14-2017, 03:55 AM



Users browsing this thread: 1 Guest(s)