How can i set permission user groups only? *Urgent*
#1

Hi,
I own a server a rp and i really need to add items yet it's not only me who can add the items (Normal members can).
I'm using http://forum.sa-mp.com/index.php?topic=104007.0 is there anyway i can edit it so only rcon admins can use it?


Thanks,

Dbh4you
Reply
#2

i don't know.. but what you can do is, lock your server or only 1 max player.
Reply
#3

Can't, they expect it to be online 24/7.

Besides, that's not why i wanted a ingame editor, i wanted to edit stuff whilst the server is online so that people can check the accomplishment.

Anyone know a code to expel member's and admins from using the commands and grant access for rcon?
Reply
#4

surely you can test it offline upload during gameplay and then hit the reset button, the server shouldnt kick everyone off and if your using a database then the data shouldnt be lost either.
Reply
#5

Nope, i've got other rcon admins who want to help me reconstruct it.
Reply
#6

You will have to use IsPlayerAdmin(playerid) at every command (I think you can do it to the whole callback to but im not sure) :P
Reply
#7

Quote:
Originally Posted by Fj0rtizFredde
You will have to use IsPlayerAdmin(playerid) at every command (I think you can do it to the whole callback to but im not sure) :P
Thanks, i will have a look.
Reply
#8

Didn't work.
Can someone download it and check please?

Only take about 5seconds, or can you view http://pastebin.com/f4aeb55cf
Reply
#9

Quote:
Originally Posted by dbh4you
Didn't work.
Can someone download it and check please?

Only take about 5seconds, or can you view http://pastebin.com/f4aeb55cf
you want that this commands would be used by only admins ?

pawn Код:
if(!IsPlayerAdmin(playerid)) return 0;
else
pawn Код:
dcmd_addobject(playerid,params[])
    {
//add it here in every command
Reply
#10

Thanks, i added that (In a different way) and it didn't work lol.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)