Forum

> > CS2D > General > admin.weapons free
Forums overviewCS2D overviewGeneral overviewLog in to reply

English admin.weapons free

22 replies
Page
To the start Previous 1 2 Next To the start

old Re: admin.weapons free

NP_Beta
COMMUNITY BANNED Off Offline

Quote
well, since google translator isnt an official language, nor english, we dont understand you. If you cant speak english then dont do it.

Anyway, what the hell do you mean with admin weapons?

old Re: admin.weapons free

DoP3
User Off Offline

Quote
spf357 has written
well, since google translator isnt an official language, nor english, we dont understand you. If you cant speak english then dont do it.

Anyway, what the hell do you mean with admin weapons?

He wants a admin script, like if you where an admin you get weapons..
Search a bit and you'll find it.....

old Re: admin.weapons free

vladik4301
User Off Offline

Quote
Vibhor has written
He wants console commands to equip him laser and super armor
and its his server


Exact. lo know how to do

old Re: admin.weapons free

RyceR
User Off Offline

Quote
You want console command, right?
equip "your id" "item id"

item id's:
Spoiler >

old Re: admin.weapons free

vladik4301
User Off Offline

Quote
MSek has written
You want console command, right?
equip "your id" "item id"

item id's:
Spoiler >


on my server is not working

old Re: admin.weapons free

DC
Admin Off Offline

Quote
then you are doing it wrong.
you have to replace "your id" with the id of a player.

you get the player ids with cs2d cmd listplayers

an working example
1
equip 1 45
gives a laser to player 1 (there has to be a player with ID 1 at the server. this should be you if you hosted a listen server with the cs2d client [non dedicated!])

old Re: admin.weapons free

vladik4301
User Off Offline

Quote
DC has written
then you are doing it wrong.
you have to replace "your id" with the id of a player.

you get the player ids with cs2d cmd listplayers

an working example
1
equip 1 45
gives a laser to player 1 (there has to be a player with ID 1 at the server. this should be you if you hosted a listen server with the cs2d client [non dedicated!])

I have opened a server I have entered as admin however it doesn't work

b

old Re: admin.weapons free

DC
Admin Off Offline

Quote
• are you sure that you entered it in the console and confirmed with ENTER?
• are you sure that you DID NOT use a dedicated server?
• you will not hold that weapon in your hands. check all slots with your mousewheel / slot keys

old Re: admin.weapons free

vladik4301
User Off Offline

Quote
DC has written
• are you sure that you entered it in the console and confirmed with ENTER?
• are you sure that you DID NOT use a dedicated server?
• you will not hold that weapon in your hands. check all slots with your mousewheel / slot keys


I have used cs2d_dedicadet.exe.then I have entered my server (I didn't have anybody weapon) I have written equip 1 (my ID) 83
edited 1×, last 30.06.10 07:53:08 pm

old Re: admin.weapons free

DC
Admin Off Offline

Quote
okay because it is MUCH more difficult when you use the dedicated. especially when you don't know what you are doing.

× don't use the dedicated! it is for experienced users only!
√ use CounterStrike2D.exe click new game and start

if you want to use dedicated anyway:
cs2d cmd sv_rcon
cs2d cmd rcon
cs2d cmd rcon_pw

old Re: admin.weapons free

vladik4301
User Off Offline

Quote
DC has written
okay because it is MUCH more difficult when you use the dedicated. especially when you don't know what you are doing.

× don't use the dedicated! it is for experienced users only!
√ use CounterStrike2D.exe click new game and start

if you want to use dedicated anyway:
cs2d cmd sv_rcon
cs2d cmd rcon
cs2d cmd rcon_pw



if I use normal server will it enter someone my server or no?
however for the dedicated equip cannot be used?

old Re: admin.weapons free

archmage
User Off Offline

Quote
It will if someone joins. If people join on your dedicated server there will probably be people that join your normal server.

If you want to make equipping items easier then you could go here.
Download that after reading the description.

old Re: admin.weapons free

DC
Admin Off Offline

Quote
there is not a single f*cking difference between a listen and a dedicated server (in this case).
only one: the dedicated server makes everything muuuch harder (in this case)

you can use equip on a listen and a dedicated server but:

√ listen server: easy! just enter in console!

× dedicated: hard! setup RCon correctly in the server settings. afterwards join your server. login with the rcon password and always place rcon in front of all commands you want to execute on your server... I bet you'll not understand that...

old Re: admin.weapons free

HaRe
User Off Offline

Quote
1
2
3
4
5
6
addhook("spawn","admin_equip")
function admin_equip(id)
	if player(id,"usgn")==USGN then
		parse ("equip "..id.." 45")
	end
end

That equip's a laser to the USGN

You can just copy the
1
parse ("equip "..id.." 45")
and change 45 to another Weapon ID

and then put it in the lua script it should look like this

1
2
3
4
5
6
7
addhook("spawn","admin_equip")
function admin_equip(id)
	if player(id,"usgn")==USGN then
		parse ("equip "..id.." 45")
		parse ("equip "..id.." YOUR WEAPON ID")
	end
end

old Re: admin.weapons free

palomino
User Off Offline

Quote
You can make a script for that, but I personally hate when admins and Rcon'ers do that. That is called cheating.

old Re: admin.weapons free

DC
Admin Off Offline

Quote
@vesa-omar: ...he did not manage to execute a simple command in the console and now you want him to install and use much more complicated Lua stuff?!
To the start Previous 1 2 Next To the start
Log in to replyGeneral overviewCS2D overviewForums overview