• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Frag reward

samiii

New Member
Joined
Apr 30, 2011
Messages
63
Reaction score
0
Hey!
I would like to request a script that gives you an trophy with name and lvl on you and the offer. And if you kills someone with the same ip you get -experience

I NEED THIS SCRIPT FOR A ROXOR 8.54 TFS 0.2.7!!!

Regards
Sami!
 
Something like this maybe works:
LUA:
function onKill(cid, target, lastHit)
if (isPlayer(cid) and isPlayer(target)) then
if getPlayerLevel(cid) < getPlayerLevel(target) then
local create =  doPlayerAddItem(cid, 7369, 1)
doItemSetAttribute(create, 'description', "Trofeo por matar a "..getPlayerName(target).." en level "..getPlayerLevel(target).." cuando tu eras level "..getPlayerLevel(cid)..".")
doPlayerSendTextMessage(cid, 24, "Te ganaste un trofeo por matar un player con lvl más alto que el tuyo.")
end
end
return true
end

But i made it a time ago in spanish.... You need to change messages xDD
 
Back
Top