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!
Hello i need made script (it can be creturescript or source edit) that when i summon monster change all monster target who atacking me to my summon. I'm using tfs 0.3.6pl1
function onAttack(cid, target)
if #getCreatureSummons(cid) >= 1 then
doMonsterSetTarget(target, getCreatureSummons(cid)[1])
else
doMonsterSetTarget(target, cid)
end
return true
end
function onAttack(cid, target)
if #getCreatureSummons(target) >= 1 then
doMonsterSetTarget(cid, getCreatureSummons(target)[1])
else
doMonsterSetTarget(cid, target)
end
now to call the script when the monster attack you will need do this.. for ALL monsters =(
Now in all monsters:
function onAttack(cid, target)
if #getCreatureSummons(target) >= 1 then
doMonsterSetTarget(cid, getCreatureSummons(target)[1])
else
doMonsterSetTarget(cid, target)
end
now to call the script when the monster attack you will need do this.. for ALL monsters =(
Now in all monsters:
Nope. It mustn't you only change the name of script... Name of script is randomly changed by user. You can set name to "evil shit" and it will be the same...