function onKill(cid, target)
if isPlayer(target) == TRUE then
if getPlayerIp(cid) ~= getPlayerIp(target) then
item = doPlayerAddItem(cid,2152)
elseif getPlayerName(cid) == getPlayerName(target) then
doPlayerAddItem(cid,2152,10)
else
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE,"Keep Hunting!")
end
end
return TRUE
end
Don't use real maps Seriously Don't That's my opinion Maybe real maps are better for other people!
function onKill(cid, target, lastHit)
if lastHit then
if isPlayer(target) and cid ~= target then
if getPlayerIp(cid) == getPlayerIp(target) then
doPlayerAddItem(cid,2152, 1)
else
doPlayerAddItem(cid,2152,10)
end
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Good job!")
else
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Keep Hunting!")
end
end
return true
end
I can help you and we share files [you give me map and i wrtie scripts for you].
PHP:function onKill(cid, target, lastHit) if lastHit then if isPlayer(target) and cid ~= target then if getPlayerIp(cid) == getPlayerIp(target) then doPlayerAddItem(cid,2152, 1) else doPlayerAddItem(cid,2152,10) end doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Good job!") else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Keep Hunting!") end end return true end
if getPlayerIp(cid) == getPlayerIp(target) then
doPlayerAddItem(cid,2152, 1)
Don't use real maps Seriously Don't That's my opinion Maybe real maps are better for other people!
Like Evolutions too?
Oh wait, your Roland guy hosts like 6 RL maps and 4 Evos... trolled