Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
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!
While you are inviting people to your team, you shouldn't attack them, and this happens even though they are in your team, you can attack them. And I need a hint on how to fix it.
I have added this, but it gives me no reaction (Hence no trigger) do i need to register or do something else to activate it?
I'm using the latest TFS1.3
Lua:
function Creature:onTargetCombat(target)
print("ontargetcombat")
if not self then
return true
end
if self:isPlayer() and target:isPlayer() then
local party = self:getParty()
print("players")
if party then
print("party")
local targetParty = target:getParty()
if targetParty and targetParty == party then
return RETURNVALUE_YOUMAYNOTATTACKTHISPLAYER
end
end
end
return true
end
I added some prints to see any reaction, but nope.