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

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)
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)