What's new

Tfs c.d 0.3.5 pvp pilne!

McFreeq

Advanced User
Joined
Nov 15, 2009
Messages
381
Reaction score
40
Siema.Chce z tfs 0.3.5 c.D zrobic ots pvp tam wszystko mam zrobione ale mam jeden problem ,poniewaz chce tak zrobic ?eby :gdy zalozmy ma ktos 100 lvl i zabijajac 8 szedl mu lvl. bo gdy wylacze ta opcje na @down0,0@down to gdy 100 zabije 91 to exp juz nie idzie bo roznica jest rowna 10 lvlom a ja chce zrobic zeby nawet na 8 lvl szedl exp a nie tylko o 10 mniejszy bo jak ktos juz ma 11 lvli mniejszy to juz nie idzie jak to zrobic a tu linijka
Code:
	minLevelThresholdForKilledPlayer = 0.9
	maxLevelThresholdForKilledPlayer = 1.1
Pilne!
 

Czornilex

User
Joined
Feb 1, 2010
Messages
27
Reaction score
0
Odp: Tfs c.d 0.3.5 pvp pilne!

Code:
minLevelThresholdForKilledPlayer = 0.9
	maxLevelThresholdForKilledPlayer = 3.0
 

McFreeq

Advanced User
Joined
Nov 15, 2009
Messages
381
Reaction score
40
Odp: Tfs c.d 0.3.5 pvp pilne!

Code:
minLevelThresholdForKilledPlayer = 0.9
	maxLevelThresholdForKilledPlayer = 3.0

to nic nie dalo kumpel ma 104 a ja 84 i jak mnie zabija nic nie idzie.
DALEJ POTRZEBUJE POMOCY
 

McFreeq

Advanced User
Joined
Nov 15, 2009
Messages
381
Reaction score
40
Odp: Tfs c.d 0.3.5 pvp pilne!

refresh!!!!!!!!
 
T

Tairens

Guest
Odp: Tfs c.d 0.3.5 pvp pilne!

Code:
function onKill(cid, target)
local template = 0
local tlvl, plvl = 0, 0
	if(isPlayer(target) == true) then
		tlvl = getPlayerLevel(target)
		plvl = getPlayerLevel(cid)
		if(tlvl < p lvl) then	
			template = ((tlvl / plvl) * 10000)
			doPlayerAddExperience(cid, template)
		end
	end
return true
end

Mo?esz by? cwa?szy i dodawa? exp poprzez lua ;p
 

McFreeq

Advanced User
Joined
Nov 15, 2009
Messages
381
Reaction score
40
Odp: Tfs c.d 0.3.5 pvp pilne!

Code:
function onKill(cid, target)
local template = 0
local tlvl, plvl = 0, 0
	if(isPlayer(target) == true) then
		tlvl = getPlayerLevel(target)
		plvl = getPlayerLevel(cid)
		if(tlvl < p lvl) then	
			template = ((tlvl / plvl) * 10000)
			doPlayerAddExperience(cid, template)
		end
	end
return true
end
Mo?esz by? cwa?szy i dodawa? exp poprzez lua ;p
no dobra ale gdzie ten plik lua wkleic ??
 

McFreeq

Advanced User
Joined
Nov 15, 2009
Messages
381
Reaction score
40
Odp: Tfs c.d 0.3.5 pvp pilne!

dalej nie dziala.. dalej pomocy;d
 
Top