Posts: 16
Threads: 5
Joined: Sep 2011
Reputation:
0
So I'm working on my server and I would like to have my own Homeland security, so i would make a family for it. Now, i want them to be able to use tazers like police officers (/tazer)
How would I do that?
Something like "(playerinfo[playerid][fMember]==" ?
If i want it to for example allow only family number 2 to use this, how would i do it?
Posts: 1,216
Threads: 59
Joined: Apr 2010
Reputation:
0
Depends on your PlayerInfo structure.
Show us the line, where you set the players family.
Posts: 16
Threads: 5
Joined: Sep 2011
Reputation:
0
I'm quite new to this, can you try to help explain what you mean exactly by that? Maybe give me a small example.
Posts: 1,216
Threads: 59
Joined: Apr 2010
Reputation:
0
find the command where you set a playersfamily, and copy it here.
Does this family ALREADY have any commands, that only they can do? If so copy them here(you can find them by searching for the error message for ex. "You're not part of the COP FAMILY" Don't forget that it's different in every script).
Posts: 16
Threads: 5
Joined: Sep 2011
Reputation:
0
Well it was kinda what i was looking for, i have the one that looks if you're a cop or not. But I would like to allow a family to use the /tazer command