Page 1 of 1

2 admin gun!

Posted: September 12th, 2010, 11:32 am
by !<|2pac
heyy

i wanna add 2 admin guns afther u login game.
This is what i tried whit rcontool.

cj_punish give:9b938260b98617f............ !<|2pac:usp.
cj_punish give:<guid><nick>:<weapon>

But its not working?
we are using 1 older mod. the other one is comming soon. but still i wanna add the usp with deserteaglegold.

can u maby give me a line how i need to enter it?

Re: 2 admin gun!

Posted: September 12th, 2010, 3:32 pm
by Pedsdude
!<|2pac wrote:heyy

i wanna add 2 admin guns afther u login game.
This is what i tried whit rcontool.

cj_punish give:9b938260b98617f............ !<|2pac:usp.
cj_punish give:<guid><nick>:<weapon>

But its not working?
we are using 1 older mod. the other one is comming soon. but still i wanna add the usp with deserteaglegold.

can u maby give me a line how i need to enter it?
You've got to do '/rcon status' to get a list of players on the server, who'll be listed in order of a number on the left (ranging from 0 to whatever value). You then use that number (e.g. 4) as follows:

/rcon cj_punish "give::4::deserteagle"

Re: 2 admin gun!

Posted: September 12th, 2010, 8:57 pm
by !<|2pac
but can i not add 2 weapons like: deserteagle and usp when i login our server.

is there not a way i dont have to do /rcon cj_punish give::4:usp ?

Re: 2 admin gun!

Posted: September 12th, 2010, 10:18 pm
by Pedsdude
You would have to edit the mod / add a script to the mod.

Re: 2 admin gun!

Posted: September 12th, 2010, 11:20 pm
by !<|2pac
:o thanks, but thats not gonna work. why? dunno how to make that script haha

Re: 2 admin gun!

Posted: October 12th, 2010, 1:05 pm
by !<|2pac
can i maby set the guids numbers in the server.cfg?
and will it work everytime when i login?
because later at the day i always need to enter agian the guids

Re: 2 admin gun!

Posted: October 12th, 2010, 2:31 pm
by Pedsdude
Add this to the config:

set cj_autoadmin "1"
set cj_adminguids "guid1,name1,guid2,name2"


Except replace 'guid1' with the GUID of admin 1, and 'name1' with the name they want to use, etc.

You can do it with as many or as few GUIDs as possible, you're not restricted to 2.