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

Lua storage

vagnerz1k

New Member
Joined
Nov 5, 2014
Messages
35
Reaction score
0
Hello galera I am here again to ask his help pretend I want to make is that if the player has an array cannot attack the monster but even with the storage it strikes but the Possibly get is without life no but he does not die here the script

function onTarget(cid, target)
if isPlayer(cid) and isMonster(target) and (getCreatureName(target) == "Monster") then
if (getGlobalStorageValue(GRANTOWER.FINALWINNER) == getCreatureName(cid)) then
doPlayerSendCancel(cid, "MSG")
return FALSE
end
end
return TRUE
end

tfs 0.3.2

The above script is for the player who has storage can not attack the monster more ta not running the player can attack more when life reaches zero the bixo not die
 
Last edited:
Back
Top