• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Help please

mocoba

New Member
Joined
Aug 23, 2008
Messages
332
Reaction score
0
i want when player kill player he got 100 gp
please help me to work that
 
Code:
local TFS_VERSION = 0.3

function onDeath(cid, corpse, variable)
	if isInArray({0.3, 0.4}, TFS_VERSION) == TRUE then
		for _, killer in pairs(variable) do
			doPlayerAddMoney(killer, 100)
		end
		return true
	elseif TFS_VERSION == 0.2 then
		doPlayerAddMoney(variable, 100)
		return TRUE
	end
end
 
Back
Top