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)
DISCORD :
utchiha_market
telegram :
https://t.me/utchiha_market
SELLIX STORE :
https://utchihamkt.mysellix.io/
Join our server for more products :
https://discord.gg/hoodservices
https://campsite.bio/utchihaamkt
DISCORD :
utchiha_market
telegram :
https://t.me/utchiha_market
SELLIX STORE :
https://utchiha.sellpass.io/
Join our server for more products :
https://discord.gg/uthciha-services
https://campsite.bio/utchihaamkt
DISCORD :
utchiha_market
telegram :
https://t.me/utchiha_market
SELLIX STORE :
https://utchiha.sellpass.io/
Join our server for more products :
https://discord.gg/uthciha-services
https://campsite.bio/utchihaamkt
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