beliar34
Member
- Joined
- Feb 28, 2012
- Messages
- 307
- Solutions
- 7
- Reaction score
- 11
i am looking for script to creaturescripts, with rule "if i dont mark somebody i dont hit him by aoe spell's, if i target somebody i hit only him by aoe spells" this is great script for anime servers and i cant find it
i got tfs 0.3.5
I know that script can be real becose 2 years ago when i was scripting i make this script
This work that : if somebody is in party with you, you cant hit him
I forgot how to make scripts, i forgot half rules plz help me
i got tfs 0.3.5
I know that script can be real becose 2 years ago when i was scripting i make this script
Code:
function onStatsChange(cid, attacker, type, combat, value)
if isPlayer(attacker) == false then
return true
end
if isPlayer(cid) == false then
return true
end
if isInParty(cid) == false then
return true
end
if getPlayerParty(cid) == getPlayerParty(attacker) then
if combat ~= COMBAT_HEALING then
return doPlayerSendCancel(cid, 'You cannot attack teammate.') and false
end
end
return true
end
I forgot how to make scripts, i forgot half rules plz help me
Last edited: