Hello mxc! I want to know how I can prevent players with KARMA, PVP FLAG and COMBAT MODE from receiving buff/heals from the buffer npc.
I use a script buffer and I tried to edit the script and import some information from core like:
if st.player.getPvpFlag() > 0 :
return showText(st,"Info","You cannot buff in this area! <font color=\"800080\">flagged!</font><br>Try again later!","False","Return","main")
elif st.player.getKarma() > 0 :
return showText(st,"Info","You cannot buff in this area! <font color=\"800080\">flagged!</font><br>Try again later!","False","Return","main")
elif st.player.isInCombat() :
return showText(st,"Info","You cannot buy buffs while in combat mode!<br>Try again later!","False","Return","main")
else: return rebuildMainHtml(st)
Warning: This guy is a big scammer, trying to sell everything, advertising for servers etc.
That's his mail address evgesha.nrnr@gmail.com , stay away!
@Atom @Celestine
Warning: This guy is a big scammer, trying to sell everything, advertising for servers etc.
That's his mail address evgesha.nrnr@gmail.com , stay away!
@Celestine
@Atom
Question
tiguz
Hello mxc! I want to know how I can prevent players with KARMA, PVP FLAG and COMBAT MODE from receiving buff/heals from the buffer npc.
I use a script buffer and I tried to edit the script and import some information from core like:
But that doesnt work, so I need some help
Edited by tiguz2 answers to this question
Recommended Posts