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

help!

Animera

* * * * *
Joined
Dec 9, 2008
Messages
2,449
Solutions
5
Reaction score
618
Location
ANIMERARPG.ONLINE
This script isn't working
i need the following thing:
example:
I do exevo gran mas vis
And there are some people on my screen
nobody get hit only the targetted player(and the mosnters)
if the target is a monster i won't hit no players

tfs 0.3.5
No errors
the problem is if i target someone it says (sorry, not possible)
and even spells it won't hit anyone

PHP:
function onCombat(cid, target)
    if isPlayer(target) == TRUE then
        return TRUE
    else
			doPlayerSendCancel(cid, "You cannot attack players without targetting it.")
        return FALSE
    end
end
 
Back
Top