Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
v.131 | Friends and Clan Member functions fails?
Author Message
rORUMI Offline
Expired VIP Member
**

Posts: 278
Joined: May 2014
Reputation: 50
Version: 1.4.2.142
Post: #1
v.131 | Friends and Clan Member functions fails?

Hi. I do a simple script to make faster my party, and see 2 functions working wrong: IsMyClanMember() and IsFriend() dont return true.

Maybe i make a wrong code, but i invite in this way:

1: list
2: Clan
3: Friend

And only the chars in list works. (just becouse take the name and not check clan or friend relation)

Ex: Fail
    LUA Programming
if (player ~= nil) and (player:IsMyClanMember()) and (player:GetDistance() < partyRangeCheck) then



Ex: Work

    LUA Programming
if (player ~= nil) and (player:GetDistance() < partyRangeCheck) then

(This post was last modified: 09-20-2014 10:37 AM by rORUMI.)
09-20-2014 10:24 AM
Find all posts by this user Quote this message in a reply
Syloth Offline
Expired VIP Member
**

Posts: 83
Joined: Dec 2011
Reputation: 14
Version: 1.4.2.142
Post: #2
RE: v.131 | Friends and Clan Member functions fails?

Use player:GetClanName() == GetMe():GetClanName()
09-20-2014 15:35 PM
Find all posts by this user Quote this message in a reply
rORUMI Offline
Expired VIP Member
**

Posts: 278
Joined: May 2014
Reputation: 50
Version: 1.4.2.142
Post: #3
Tongue RE: v.131 | Friends and Clan Member functions fails?

(09-20-2014 15:35 PM)Syloth Wrote:  Use player:GetClanName() == GetMe():GetClanName()

Tested. Work perfect. ty

Result: (changing the real names X) )

[20/09/2014 06:08:17 p.m.]PartyMA Member Number: 0
[20/09/2014 06:08:17 p.m.]PartyMA Looking for: Chars to invite
[20/09/2014 06:08:17 p.m.]PartyMA Looking for: Clan Member to invite
[20/09/2014 06:08:17 p.m.]PartyMA Clan - Found: Char1
[20/09/2014 06:08:22 p.m.]PartyMA Clan - Invite: Char1
[20/09/2014 06:08:32 p.m.]PartyMA Clan - Found: Char2
[20/09/2014 06:08:37 p.m.]PartyMA Clan - Invite: Char2
[20/09/2014 06:08:47 p.m.]PartyMA Clan - Found: Char3
[20/09/2014 06:08:52 p.m.]PartyMA Clan - Invite: Char3
[20/09/2014 06:09:02 p.m.]PartyMA Clan - Found: Char4
[20/09/2014 06:09:07 p.m.]PartyMA Clan - Invite: Char4
[20/09/2014 06:09:17 p.m.]PartyMA Clan - Found: Char5
[20/09/2014 06:09:22 p.m.]PartyMA Clan - Invite: Char5
[20/09/2014 06:09:32 p.m.]PartyMA Clan - Found: Char6
[20/09/2014 06:09:37 p.m.]PartyMA Clan - Invite: Char6
[20/09/2014 06:10:02 p.m.]PartyMA Member Number: 6
[20/09/2014 06:10:02 p.m.]PartyMA Party: Full
(This post was last modified: 09-22-2014 00:17 AM by rORUMI.)
09-21-2014 23:23 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Blackline Edge: Extend the male member(penis) girth and size KevinNelso 0 2,306 10-03-2019 06:43 AM
Last Post: KevinNelso
  Three-Down Back: A trio of things to watch against the Saints Hey friends. laiyongcai92 0 576 01-04-2019 09:25 AM
Last Post: laiyongcai92
  These guys may be friends now, but the NDSU-SDSU rivalry is real zhangzk 0 680 12-21-2018 05:14 AM
Last Post: zhangzk
Information How to get 'PARTY MEMBER TARGET'? Caaioc 9 3,745 01-24-2016 09:57 AM
Last Post: TheQQmaster
  select member of party to summon bistabil 6 2,811 12-10-2014 22:49 PM
Last Post: bistabil
  VIP member eriqq 9 2,318 08-03-2014 12:03 PM
Last Post: Fox
Smile CLAN BUFF wintersung13 4 3,060 05-12-2014 13:22 PM
Last Post: vochikien
Information Clan War NaoJogoMais 0 1,142 02-01-2014 13:35 PM
Last Post: NaoJogoMais
Smile L2 Tower Fails lKakashi 3 2,261 01-10-2014 18:44 PM
Last Post: bygru
  Clan IDs change all the time since lindviour tuxevil 0 1,230 07-22-2013 20:04 PM
Last Post: tuxevil



User(s) browsing this thread: 1 Guest(s)