Code:
function onCombat(cid, target)
if(isPlayer(cid) and isPlayer(target)) then
if(1==0) then
if(getPlayerLevel(cid) == getPlayerLevel(target)) then
return false
end
end
if(1==0) then
if(getPlayerParty(cid) == getPlayerParty(target)) then
return false
end
end
end
return true
end
Nie wiem jak prawidłowo pobrać ten starage a samo if getPlayerStorageValue(cid, 1012) == getPlayerStorageValue(target, 1012) then albo
if getPlayerStorageValue(cid, 1012,1) == getPlayerStorageValue(target, 1012,1) then niestety nie dziła poprawnie