Raised This Month: $32 Target: $400
 8% 

Open cd-drive/dvd-drive


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Proz
AlliedModders Donor
Join Date: Apr 2005
Old 02-18-2008 , 11:30   Open cd-drive/dvd-drive
Reply With Quote #1

Hi guys, I dont know if this is the right topic to put in under , but I was running a plugin on my server long ago and you was enable to open other players cd-rom drivers with it. I have been looking for a while but I cant find the plugin so I was wondering if someone could code one for me or find it for me. Really funny plugin ;) / Proz
Proz is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 02-18-2008 , 11:32   Re: Open cd-drive/dvd-drive
Reply With Quote #2

In clcmds.ini you can put commands "cd open" and "cd close", you don't need any plugin.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
Proz
AlliedModders Donor
Join Date: Apr 2005
Old 02-18-2008 , 11:34   Re: Open cd-drive/dvd-drive
Reply With Quote #3

how should I write in clcmds.ini ? and what command should I use ingame do open another players drive
Proz is offline
PM
hello, i am pm
Join Date: Jan 2004
Location: Canalization
Old 02-18-2008 , 11:45   Re: Open cd-drive/dvd-drive
Reply With Quote #4

On the other hand, you know that, even if this is still possible, you don't want to do this except maybe when playing with friends who understand the joke.

If you are planning to mess with anonymous players' CD drives, at least display a disclaimer when they join so that they can decide whether or not they really want to play on your server.
__________________
hello, i am pm
PM is offline
Proz
AlliedModders Donor
Join Date: Apr 2005
Old 02-18-2008 , 11:52   Re: Open cd-drive/dvd-drive
Reply With Quote #5

Quote:
Originally Posted by PM View Post
On the other hand, you know that, even if this is still possible, you don't want to do this except maybe when playing with friends who understand the joke.

If you are planning to mess with anonymous players' CD drives, at least display a disclaimer when they join so that they can decide whether or not they really want to play on your server.

Yes I understand that , I got a server on my own computer just my friends plays there. But a disclaimer wasnt a bad idea either. So could anybody tell me how to do this? Thanks
Proz is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 02-18-2008 , 11:57   Re: Open cd-drive/dvd-drive
Reply With Quote #6

1rst
Don't send me PMs for that thing.

2nd
For disclaimer, you can use motd.txt

3rd
Code:
; Menu configuration file
; Default File location: $moddir/addons/amxmodx/configs/clcmds.ini
; To use with Players Menu plugin

; NOTE: By default in all settings the access level is set to "u".
;       However you can change that, to limit the access to some settings.

; Client Commands Menu: ; < description > < command > < flags > < access level >
; "a" - execute from server console
; "b" - execute from admin console
; "c" - execute on selected player
; "d" - back to menu when executed

"Kick player" 		"amx_kick #%userid%"		"b"	"u"
"Slay player" 		"amx_slay #%userid%"		"bd"	"u"
"Slap with 1 dmg." 	"amx_slap #%userid% 1"		"bd"	"u"
"Ban for 5 minutes" 	"amx_ban #%userid% 5"		"b"	"u"
"Open CD drive"		"cd open"			"cd"	"u"
"Close CD drive"	"cd close"			"cd"	"u"
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
Proz
AlliedModders Donor
Join Date: Apr 2005
Old 02-18-2008 , 16:42   Re: Open cd-drive/dvd-drive
Reply With Quote #7

Quote:
Originally Posted by connorr View Post
1rst
Don't send me PMs for that thing.

2nd
For disclaimer, you can use motd.txt

3rd
Code:
; Menu configuration file
; Default File location: $moddir/addons/amxmodx/configs/clcmds.ini
; To use with Players Menu plugin

; NOTE: By default in all settings the access level is set to "u".
;       However you can change that, to limit the access to some settings.

; Client Commands Menu: ; < description > < command > < flags > < access level >
; "a" - execute from server console
; "b" - execute from admin console
; "c" - execute on selected player
; "d" - back to menu when executed

"Kick player" 		"amx_kick #%userid%"		"b"	"u"
"Slay player" 		"amx_slay #%userid%"		"bd"	"u"
"Slap with 1 dmg." 	"amx_slap #%userid% 1"		"bd"	"u"
"Ban for 5 minutes" 	"amx_ban #%userid% 5"		"b"	"u"
"Open CD drive"		"cd open"			"cd"	"u"
"Close CD drive"	"cd close"			"cd"	"u"


Well I tryed it on my comp and a friends computer , it doenst work to open it but if you open it by yourself you can close it on the server. It works to close the driver but not to open it.
Proz is offline
Greenberet
AMX Mod X Beta Tester
Join Date: Apr 2004
Location: Vienna
Old 02-18-2008 , 17:21   Re: Open cd-drive/dvd-drive
Reply With Quote #8

its "cd eject"
__________________
Greenberet is offline
Send a message via ICQ to Greenberet Send a message via MSN to Greenberet
Proz
AlliedModders Donor
Join Date: Apr 2005
Old 02-18-2008 , 17:24   Re: Open cd-drive/dvd-drive
Reply With Quote #9

thanks mate
Proz is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:01.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode