Forum

> > CS2D > Scripts > Script Change Request
Forums overviewCS2D overview Scripts overviewLog in to reply

English Script Change Request

5 replies
To the start Previous 1 Next To the start

old Script Change Request

Lorenzz
User Off Offline

Quote
This script is not mine, i'm saying this now so the owner (Which, to be sincere, i didn't asked permission) and you guys say i'm claiming as mine, but anyway..

This script=
http://unrealsoftware.de/files_show.php?file=3808
Is an awesome Laser Aim script, i really liked it, but to me, there's one problem.
I'm using the Admin Script Beta 3.0, or something like this, and for those who use it, know that F4 is that painting thing, and in the Laser Aim script, F4 enables it, and the Painting thing is toggleable, so, i'd like to ask something for you fellow professional scripters. I'd like you to set the key in the Laser Aim script, from F4 to F6, since F5 is screenshot. To use is good in my servers. Anyway, thanks guys for the help! And sorry for the long text.

old Re: Script Change Request

EngiN33R
Moderator Off Offline

Quote
Only three serveraction keys can be bound at a given time, which, by default, are F2, F3 and F4. You'll have to either remove one of the features or make one of them usable by different means.
edited 1×, last 29.08.12 07:50:14 am

old Re: Script Change Request

Lorenzz
User Off Offline

Quote
Aw.. I understood now.. So can you convert this to a text triggered command? Like, it toggles when i say !laser ?

old Re: Script Change Request

Powermonger
User Off Offline

Quote
user EngiN33R has written
Only three serveraction keys can be bound at a given time, which, by default, are F2, F3 and F4. You'll have to either remove one of the features or make one of them usable by different means.


BUT always remember that you can do a trick like this:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
set = 1

addhook("serveraction","serva")
function serva(id,sa)
	if sa == 1 then
		if set==1 then
			set = 2
		elseif set==2 then
			set = 3
		elseif set==3 then
			set = 1
		end
	end
	if sa == 2 then
		if set==1 then
			menu1(id)
		elseif set==2 then
			menu3(id)
		elseif set==3 then
			menu5(id)
		end
	end
	if sa == 3 then
		if set==1 then
			menu2(id)
		elseif set==2 then
			menu4(id)
		elseif set==3 then
			menu6(id)
		end
	end
end

F2 => changes set values
set1 => menus1 & menus2
set2 => menus3 & menus4
set3 => menus5 & menus6

F3 => menu1 or menu3 or menu5

F4 => menu2 or menu4 or menu6


Now you'll have 6 menus, but you can do unlimited menus, by making more set values.

old Re: Script Change Request

Lorenzz
User Off Offline

Quote
user Powermonger has written
user EngiN33R has written
Only three serveraction keys can be binded at a given time, which, by default, are F2, F3 and F4. You'll have to either remove one of the features or make one of them usable by different means.


BUT always remember that you can do a trick like this:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
set = 1

addhook("serveraction","serva")
function serva(id,sa)
	if sa == 1 then
		if set==1 then
			set = 2
		elseif set==2 then
			set = 3
		elseif set==3 then
			set = 1
		end
	end
	if sa == 2 then
		if set==1 then
			menu1(id)
		elseif set==2 then
			menu3(id)
		elseif set==3 then
			menu5(id)
		end
	end
	if sa == 3 then
		if set==1 then
			menu2(id)
		elseif set==2 then
			menu4(id)
		elseif set==3 then
			menu6(id)
		end
	end
end

F2 => changes set values
set1 => menus1 & menus2
set2 => menus3 & menus4
set3 => menus5 & menus6

F3 => menu1 or menu3 or menu5

F4 => menu2 or menu4 or menu6


Now you'll have 6 menus, but you can do unlimited menus, by making more set values.



Well, that's great! But i'd still like if you guys could convert the Laser Aim script for the toggle say message. So i could give a way to bind it in the Admin script menu.
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview