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

Something different ideas (please HELP!)

Laron25

New Member
Joined
Mar 28, 2010
Messages
127
Reaction score
2
Anyone can make for me this scripts:
rep++

TFS 0.3.5pl1


[1]

If we got storage 3250 we can loot item with id: 3950 from monster.
(without have storage, monster dont drop the item)

[3]
- If monster have storage 3045 and we have storage 3045 the monster can attack us and we can attack monster.
If we dont have storage the monsters dont move and if we wanna target it, it says: "You cannot attack this monster now."
 
Last edited:
[2]
Lua:
function onUse(cid, item, fromPosition, itemEx, toPosition)
local pos = {x=x, y=y, z=z}
if itemEx.actionid == 1304 then
doTeleportThing(cid, pos)
end
return true
end
actions.xml
XML:
<action itemid="2553" event="script" value="name.lua"/>
 
THX, repped. How about idea [1] and [2] ?

EDIT:
How i can add that script -> Vocation id: 2,5 Have full feed all time (they can no-eating and get full feed status) ?
 
Last edited:
Lua:
function onThink(cid)
	if isInArray({2,5}, getPlayerVocation(cid)) then
		doPlayerFeed(cid, 400)
	end
	return true
end
it's a creaturescript, that means you must register it in login.lua, too. :p
 
Back
Top