Forum
CS2D General admin.weapons freeadmin.weapons free
22 repliesAnyway, what the hell do you mean with admin weapons?
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?
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.....
and its his server
Vibhor has written
He wants console commands to equip him laser and super armor
and its his server
and its his server
Exact. lo know how to do
equip ID 83 = super armor?
equip "your id" "item id"
item id's:
MSek has written
on my server is not working
you have to replace "your id" with the id of a player.
you get the player ids with listplayers
an working example
1
equip 1 45
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 listplayers
an working example
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!])
you have to replace "your id" with the id of a player.
you get the player ids with listplayers
an working example
1
equip 1 45
I have opened a server I have entered as admin however it doesn't work
b
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
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
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
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:
sv_rcon
rcon
rcon_pw
DC has written
if I use normal server will it enter someone my server or no?
however for the dedicated equip cannot be used?
If you want to make equipping items easier then you could go here.
Download that after reading the description.
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...
1
2
3
4
5
6
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 then put it in the lua script it should look like this
1
2
3
4
5
6
7
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