Kolejne b?edy w skryptach
Oto skrypty:
Kill.lua:
A drugi b??d w wars.lua juz naprawi?em
Oto skrypty:
Kill.lua:
Kod:
dofile("./GuildWar.lua") local PZ = createConditionObject(CONDITION_INFIGHT) setConditionParam(PZ, CONDITION_PARAM_TICKS, getConfigInfo('pzLocked')) function onKill(cid, target) if isPlayer(cid) == TRUE and isPlayer(target) == TRUE then local myGuild = getPlayerGuildId(cid) local enemyGuild = getPlayerGuildId(target) if myGuild ~= 0 and enemyGuild ~= 0 then if enemyGuild == getGuildWarInfo(myGuild).With then removeFrag(cid) doPlayerSendTextMessage(cid, MESSAGE_EVENT_DEFAULT, "This Frag will not count") --Remove this if you wish doAddCondition(cid, PZ) registerDeath(myGuild, enemyGuild, cid, target) end end end return TRUE end
A drugi b??d w wars.lua juz naprawi?em