Dileck
New Member
- Joined
- Sep 20, 2008
- Messages
- 93
- Reaction score
- 2
Im looking for a good team, im able to do nice scripts in any section; Actions,Globalevents,Creatureevents and talkactions. I started to script some months ago and i need a good team to make a nice server.
Some examples of scripts i have made:
Talkaction to remove frags
Action, when you use the item gives you a set and labels your name to the set.
Some examples of scripts i have made:
Talkaction to remove frags
PHP:
function onSay(cid, words, param)
local gp = 10000
if getPlayerFrags(cid) >= 1 and getPlayerMoney(cid) == gp then
doPlayerAddFrags(cid, - getPlayerFrags(cid))
doPlayerRemoveMoney(cid, gp)
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You removed " .. getPlayerFrags(cid) .." frags.")
return TRUE
else
if getPlayerFrags(cid) == 0 then
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You dont have any frags to remove.")
return TRUE
end
end
end
--By Waxel
PHP:
function onUse(cid, item, frompos, item2, topos)
if getPlayerLevel(cid) >= 1 then
local name = getCreatureName(cid)
legs = doPlayerAddItem(cid,9928,1)
doSetItemActionId(legs,12013)
doSetItemSpecialDescription(legs, "Belongs to " .. name .."." )
armor = doPlayerAddItem(cid,8876,1)
doSetItemActionId(armor,12013)
doSetItemSpecialDescription(armor, "Belongs to " .. name .."." )
mask = doPlayerAddItem(cid,9822,1)
doSetItemActionId(mask,12013)
doSetItemSpecialDescription(mask, "Belongs to " .. name .."." )
ring = doPlayerAddItem(cid,8752,1)
doSetItemActionId(ring,12013)
doSetItemSpecialDescription(ring, "Belongs to " .. name .."." )
boots = doPlayerAddItem(cid,9931,1)
doSetItemActionId(boots,12013)
doSetItemSpecialDescription(boots, "Belongs to " .. name .."." )
shield = doPlayerAddItem(cid,9816,1)
doSetItemActionId(shield,12013)
doSetItemSpecialDescription(shield, "Belongs to " .. name .."." )
doRemoveItem(item.uid, 1)
else
doPlayerSendCancel(cid, "You have to be atleast lvl 2.")
end
return 1
end