05.10.2011, 10:28
I need a expert in RP for this.I need help in creating a group.I want to create a group where I can invite members to join.This group is not LSPD, family's or any other faction group.This is a Admin Group.I created a admin club with a interior.I added a door with keypads.Normal players can enter the door by pressing F.Now how do I stop them from entering the room.I was thinking something with the group thing can stop them.Example like:
if(!IsPlayer(I don't know what to put here!!!!)(playerid == 1))
{
MoveObject(door, ....................., 3.0);
SetTimerEx("doorclose", 5000, false, "i", playerid);
ApplyAnimation(playerid, "HEIST9", "Use_SwipeCard", 10.0, 0, 0, 0, 0, 0);
}
.Can someone help me by showing how to create a group and the "if(!IsPlayer(What to put here?!)(playerid == 1))" thing so normal players can't enter the club.
if(!IsPlayer(I don't know what to put here!!!!)(playerid == 1))
{
MoveObject(door, ....................., 3.0);
SetTimerEx("doorclose", 5000, false, "i", playerid);
ApplyAnimation(playerid, "HEIST9", "Use_SwipeCard", 10.0, 0, 0, 0, 0, 0);
}
.Can someone help me by showing how to create a group and the "if(!IsPlayer(What to put here?!)(playerid == 1))" thing so normal players can't enter the club.