• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

No Damage To Party Members

  • Thread starter Thread starter Deleted member 49793
  • Start date Start date
D

Deleted member 49793

Guest
Looking for a script so when your in a party with someone you dont hurt them with spells :) Thanks
Moist~
 
LUA:
function onCombat(cid, target)
	if isPlayer(target) then
		local a, b = getPlayerParty(cid), getPlayerParty(target)
		if a and b and a == b then
			return false
		end
	end
	return true
end
Also add it in login.lua and creaturescripts.xml
 

Similar threads

Back
Top