Arn
Member
- Joined
- Mar 8, 2010
- Messages
- 282
- Reaction score
- 18
Using TFS 0.2.13 pl1
I'm trying to write a simple script that will add a guest to the house. So far, it seems impossible. Please take a look at the script, and I will +rep anybody that can help.
For anybody that doesn't know, 0x100 is the guest list, and 0x101 is the subowner list.
-Arn
I'm trying to write a simple script that will add a guest to the house. So far, it seems impossible. Please take a look at the script, and I will +rep anybody that can help.
Code:
function onSay(cid, words, param)
local house = getHouseByPlayerGUID(getPlayerGUID(cid))
local list = getHouseAccessList(house, 0x100)
setHouseAccessList(house, list, param)
end
For anybody that doesn't know, 0x100 is the guest list, and 0x101 is the subowner list.
-Arn