• 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!

[TFS 0.3.6][talkactions] !bless and !guildonline

Michaeel

New Member
Joined
Mar 6, 2009
Messages
272
Reaction score
1
Hello, i need script !bless which buy all blessings. I was searching a lot and i havent found any working script for TFS 0.3.6 :/
Also i need script !guildonline which shows players online only from guild.
Thanks
 
LUA:
function onSay(cid, words, param, channel)
	if getPlayerBlessing(cid, 5) == FALSE then
		if getPlayerMoney(cid) >= 50000 then
			for i = 1,5 do
				doPlayerAddBlessing(cid, i)
			end
			doSendMagicEffect(getCreaturePosition(cid), CONST_ME_MAGIC_GREEN)
			doPlayerRemoveMoney(cid, 50000)
			doPlayerSendTextMessage(cid, 22, "You have been blessed by the gods!")
		else
			doPlayerSendCancel(cid, "You don't have enough money.")
			doSendMagicEffect(getCreaturePosition(cid), CONST_ME_POFF)
		end
	else
		doPlayerSendCancel(cid, "You have already been blessed.")
		doSendMagicEffect(getCreaturePosition(cid), CONST_ME_POFF)
	end
return true
end
 
It works! Thanks!
Now i need !guildonline command which shows only online players from guild.
I have't found it yet, is it possible to do?

btw whats that
-- Blessings
blessingReductionBase = 30
blessingReductionDecreament = 5
eachBlessReduction = 8
? ;)
 
Back
Top