I was asked to show the code, here it is. As you can see the color-coding is at the beginning of the string. Maybe it's simply because I'm trying to do it through Lua?
Forum




I was asked to show the code, here it is. As you can see the color-coding is at the beginning of the string. Maybe it's simply because I'm trying to do it through Lua?

If I'm not wrong, you should use the Alt+169 code.
Btw, what did you mean by your character encoding?
i need a script with:
bind key (n) to jump, it can only jump over obstacle, and a stamina bar.
Thanks, now I know why the binds closed the game

Can you tell me what mainmenu's good for? I'm just curious.
Flacko has written
@Noxic:[...] Alt+169 code. [...]
no it is Alt+0169
Dark Byte has written
no it is Alt+0169
Flacko has written
@Noxic:[...] Alt+169 code. [...]
no it is Alt+0169
Ugh...
It's exactly the same...
Flacko has written
Ugh...
It's exactly the same...
Dark Byte has written
no it is Alt+0169
Flacko has written
@Noxic:[...] Alt+169 code. [...]
no it is Alt+0169
Ugh...
It's exactly the same...
no (at least not for me)
Alt+169 == ⌐
Alt+0169 == ©
I have no idea, I just skimmed through the code and found the error.

1) I will ask for an example (classes.lua). How do I, that place of spawn depended on what class a player choose?
2) Is it possible to do so (all the same clases.lua), so that some classes were only available for Ts, and others only for CTs?
Thank for reading

Kostyan1996 has written
Hello, modmakers
! I want to ask two or questions on modmaking:
1) I will ask for an example (classes.lua). How do I, that place of spawn depended on what class a player choose?
2) Is it possible to do so (all the same clases.lua), so that some classes were only available for Ts, and others only for CTs?
Thank for reading
Kost@n

1) I will ask for an example (classes.lua). How do I, that place of spawn depended on what class a player choose?
2) Is it possible to do so (all the same clases.lua), so that some classes were only available for Ts, and others only for CTs?
Thank for reading

1)
1
parse ("setpos "..id.." "..x.." "..y")
2) Yes, it is possible
example:
1
2
2
if (team==1) -- for Ts 	if (team==2) -- for Cts
1
parse ("setpos "..id.." "..x.." "..y")
---------------------
OW! And 1 Q. (last XD)
Can I make the players were able to take up arms or throw them?
edited 1×, last 17.03.10 03:18:05 pm
???
Kostyan1996 has written
Thank, but one Q.
I dont understand, "x" and "y", that change to "x" and "y", what I need? and with "..", or not?
---------------------
OW! And 1 Q. (last XD)
Can I make the players were able to take up arms or throw them?
1
parse ("setpos "..id.." "..x.." "..y")
---------------------
OW! And 1 Q. (last XD)
Can I make the players were able to take up arms or throw them?
example:
x= 300
y=300
parse("setpos "..id.." "..x.." "..y)
-- or
parse ("setpos "..id.." 300 300")--the same crap
Khaleed has written
hey can someone get me a script that just my and my friends usng id can enter on terroris or ct
???
???
1
2
3
4
5
6
7
8
9
10
11
2
3
4
5
6
7
8
9
10
11
addhook("team","admteam") function admteam(id,team) 	if (team==1) then 		if (player(id, "usgn") == your_usgn_here) or (player(id, "usgn") == your_freind_usgn_here) then 			parse("maket "..id) 		else 			return 1 			 		end 	end end
i make for you : you and your friends can join T, other players can't join T ... only ct
i need like to make "vip" and "admin" but i already have this script i need this and anothers lol
oh i want skins too

i will create ... later lol
Who know, how to use RPG Shop?
Say me plz, or give manual...
Ang if you have, give me RPG Shop (Script) plz...
Thank
edited 1×, last 17.03.10 05:43:13 pm
Kostyan1996 has written
And 1 question...
Who know, how to use RPG Shop?
Say me plz, or give manual...
Ang if you have, give me RPG Shop (Script) plz...
Thank
Who know, how to use RPG Shop?
Say me plz, or give manual...
Ang if you have, give me RPG Shop (Script) plz...
Thank
Oh yeah, your manuals:
http://www.lua.org/manual/5.1/
http://www.lua.org/pil/