Group Leader and Member.
#1

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.
Reply
#2

What admin call do you use?

Normally it would be

if(IsPlayerAdmin(playerid) >= 1);
bla bla bla.
Reply
#3

I'm using a admin Filterscript done by someone else. Now I want to create my own Admin Club thing so other players can't access.If it is IsPlayerAdmin thing, if I want other admins to come, I have to give them my rcon pass.
Reply
#4

Tell me whose Admin Script it is.

If its luxadmin, this probably would do.
pawn Код:
PRIVATE: YOUPUTIT::IsPlayerAdmin (playerid)
    return (IsPlayerAdmin (playerid) || CallRemoteFunction ("IsPlayerAdminCall", "i", playerid));
Reply
#5

Its gAdmin.
Reply
#6

I've read it, and if you DO know, you can do like

On level 2, it makes you trusted ( iTrusted = 1 )

So...

If(iTrusted[playerid] == 1) {
BlABLABLALBABLA
Reply
#7

Thanks I'm giving u a reputation!!
Reply
#8

It says Undefined Symbol iTrusted.So what do I do?
I did : if(iTrusted(playerid == 1 )), then I ran it but it says Undefined Symbol iTrusted.
Reply
#9

I have to go offline now, but I'll be back later.Please try to help me in this situation.
Reply
#10

EDIT:

The right code is

pawn Код:
if(PlayerInfo[playerid][AdminLevel] >= g_Level[yourchoice]) {
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)