Creating a static faction system, help with command.
#6

Quote:
Originally Posted by wildcookie007
View Post
Player who sends the invite is - playerid ,to get player who RECEIVES the invite - you defined him as targetid, your code is good, tho I do not remember what "u" stands for, an integer or else. You should have some faction code defined above, look for it.

edit: ah silly me, you have it. To get player faction id use: PlayerInfo[playerid][Group]. If you want to check if he is in some kind of group, use:

if(PlayerInfo[playerid][Group] < 255) (Not sure about your group numbers)
Quote:
Originally Posted by Azzeto
View Post
I'm stuck at getting the players faction id who sends the invite, so the person gets invited into their group.
Not the player.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)