• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

[Lua Talkaction] /owner Modification

dead touch

7.6 Server ON ITS WAY!
Joined
Jan 18, 2010
Messages
3
Reaction score
0
PHP:
function onSay(cid, words, param)
	if(param == "") then
		doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Command requires param.")
		return TRUE
	end

	local clean = TRUE
	local t = string.explode(param, ",")
	if(t[2]) then
		clean = getBooleanFromString(t[2])
	end

	local guid = getPlayerGUIDByName(t[1])
	local hid = getTileHouseInfo(getCreaturePosition(cid))
	if(hid and guid) then
		setHouseOwner(hid, guid, clean)
	end
	return TRUE
end
This is what i have for /owner talk action for tfs i wanna edit it so like 1 name gm's with access 3 can sell for example

Valley House 1- i want to make it so gm's cant sell houses with Valley in the name of it
 
You don't need a script my dear friend.

Just "tell" your GM's (if they are working for you) that they don't have to sell
the valley houses.

I mean, if you can't trust them, fire them!
 
Last edited:
Back
Top