• 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!

when players kills

Lbtg

Advanced OT User
Joined
Nov 22, 2008
Messages
2,398
Reaction score
165
Ello i need simple script to punish

if lower level player kills some guy 4 times "THE SAME GUY" when he trying to kill fith time he get jailed and who is dieing gets jailed also for 2 hour .

Posible to make ? i using 0.3.6
SOrry for me poor english .
 
LUA:
function onKill(cid, target, lastHit)
	if cid ~= target and isPlayer(target) then
		if getPlayerIp(cid) == getPlayerIp(target) then
			doCreatureAddHealth(cid, -200)
			doCreatureAddMana(cid, -200)
			doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, 'You have been punished for killing a player of the same IP.')
		end
	end
	return true
end
 
You will not gain frags on killing the same IP.
There is not a free script that If you kill same IP 3 times and kill him again(4x) you will not receive frag/exp. I'm searching for this script too.
 
i wanted not script like this , well i wanted that players ip: 2.2.2.2 kills players with ip 3.3.3.3 , after killing same IP guy 3 times fouth time players who is dieing getting jailed


sorry for me poor english
 
Back
Top