roriscrave
Advanced OT User
- Joined
- Dec 7, 2011
- Messages
- 1,188
- Solutions
- 34
- Reaction score
- 200
Hi guys!
I need one action script that check how many players are in the party.
I'll use a lever and it will return the msg (have X players in your party).
Thx!
i`m using tfs 0.4 tibia 8.6
exemple:
I need one action script that check how many players are in the party.
I'll use a lever and it will return the msg (have X players in your party).
Thx!
i`m using tfs 0.4 tibia 8.6
exemple:
Code:
function onUse(cid, item, fromPosition, itemEx, toPosition)
local partylist = getPartyMembers(cid)
if not partylist then
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "You dont have party.")
elseif partylist then
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Have X players in your party.")
end
return true
end