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

Small scripts

AGATG

NonStopWar Staff
Joined
Oct 29, 2009
Messages
32
Reaction score
0
Location
Wisconsin
k so i lookd into some scripts and what i got didnt fix my problems... this is what i need and preferably a trusted person to script/show me the best links to scripts.

1.how to make aol infinite and give protection to death/skills
2.how to configure the server (to pvpe or pvp or into a war server with exp)
3. make player give a plat when they get killed.

any help would be greatly appreciated.
 
Infinite Aol (In your items.xml under your forever aol) add:
Lua:
<attribute key="charges" value="99999"/>
Protection check in your config.lua

Pvp/Pvp-e/War
Check in your config.lua

Make a player give...
Lua:
function onKill(cid, target)
        if isPlayer(target) == TRUE then
		if getPlayerIp(cid) ~= getPlayerIp(target) then
        loot = 2152 
	  item = doPlayerAddItem(cid,loot,1)
	elseif getPlayerName(cid) == getPlayerName(target) then
	  doPlayerAddItem(cid,loot,1)
else
		doPlayerAddExperience(cid, -10000)
		doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE,"You have been punished for killing a player of the same IP.")
        end
end
        return TRUE
end
 
Last edited:
Back
Top