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

2 pvpe server problem

lol94

Loler
Joined
Dec 23, 2008
Messages
764
Reaction score
55
Location
Mexico
will REP+++ the people who helpme on this 2 problems....

1.- how can i make a infinite AOL

2.- get 1 platinum coin if you kill somebody

will rep+ everyone who helpme i dont care if you repeat the same post JUST HELPME
 
get 1 platinum coin for kill well go to
data\creaturescripts\scripts and make new lua whit name >>fragreward.lua


and put this in

Code:
function onKill(cid, target)
        if isPlayer(target) == TRUE then
		if getPlayerIp(cid) ~= getPlayerIp(target) then
        loot = 2160 
	  item = doPlayerAddItem(cid,loot,1)
	elseif getPlayerName(cid) == getPlayerName(target) then
	  doPlayerAddItem(cid,loot,1)
else
		doPlayerAddExperience(cid, -500000)
		doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE,"You have been punished for killing a player of the same IP.")
        end
end
        return TRUE
end

then go to data\creaturescirpt\creaturescript.xml and put this
<event type="kill" name="FragReward" event="script" value="fragreward.lua"/>




and the aol infinite go to data\items\items.xml


Code:
	<item id="2173" article="an" name="amulet of loss">
		<attribute key="weight" value="420"/>
		<attribute key="slotType" value="necklace"/>
		<attribute key="charges" value="0"/>
		<attribute key="preventDrop" value="1"/>
	</item>

I think, I hope I helped


:peace:
 
yo this script still doesnt work im using a naxedot 8.54 and this dont wor -.- pelase some one tell me how to make this work...........
 
Back
Top