Lua Scripts/Questions/Help
6,770 repliesDaveRodec has written:
Why not use the tile(x,y,"walkable") function?
The tile function doesn't exclude areas that are not accessible from the spawn point (IE, inside walls, outside the maps, etc)
OMG leegao this http://mapcs2d.codepad.org/5SxuaZM1 rules!

There is no ammo set command yet.
But always there is some tricks.
I will show some of them in my next script.
But always there is some tricks.
I will show some of them in my next script.
Blazzingxx has written:
There is no ammo set command yet.
DAMN my code died :_


Starkkz has written:
Can helpme? i dont know the effect command. see this image
http://img35.imageshack.us/img35/3743/effectfunc.jpg
i can know only <effect> <x> <y>
but the other what is?
http://img35.imageshack.us/img35/3743/effectfunc.jpg
i can know only <effect> <x> <y>
but the other what is?
Code:
1
effect <effect> <x> <y> <p1> <p2> <r> <g> <b>.
http://www.cs2d.com/help.php?cat=all&cmd=effect#cmd
How to make a class script with the following conditions:
Another soldier class for the Ts and CTs ( The CT soldier has Famas and the T soldier has a Galil; and the CTs/Ts can't choose the other soldier)
Some Classes, like the Pyro mustn't have more players than 2
For example lets take the one of DC:


For example lets take the one of DC:
edited 1×, last 24.12.09 12:52:22 pm
Who Rainzone!
put to it
Code:
1
2
3
4
5
6
7
8
9
2
3
4
5
6
7
8
9
if (player(id,"team")==1 then -- Terrorist Forces
menu(id,"menu title,selection1,selection2,selection3")
end
-- or
if (player(id,"team")==2 then -- Counter Terrorist Forces
menu(id,"menu title,selection1,selection2,selection3")
end
menu(id,"menu title,selection1,selection2,selection3")
end
-- or
if (player(id,"team")==2 then -- Counter Terrorist Forces
menu(id,"menu title,selection1,selection2,selection3")
end
where should i put that?
and if you have time, could you make a little example with just a ct soldier and t soldier
and how can i make that just 3 CTs can be a soldier (maximum 3 people can be in this class)
thanks
and if you have time, could you make a little example with just a ct soldier and t soldier
and how can i make that just 3 CTs can be a soldier (maximum 3 people can be in this class)
thanks
Who Rainzone!
Can I make a script that enable players using mics.
If can't,IS IT POSIBLE that CS2D will have this feature?
If can't,IS IT POSIBLE that CS2D will have this feature?
zm_banana_village,minimap of zombie.
Want it?GET IT NOW
Starkkz has written:
put to it
Code:
1
2
3
4
5
6
7
8
9
2
3
4
5
6
7
8
9
if (player(id,"team")==1 then -- Terrorist Forces
menu(id,"menu title,selection1,selection2,selection3")
end
-- or
if (player(id,"team")==2 then -- Counter Terrorist Forces
menu(id,"menu title,selection1,selection2,selection3")
end
menu(id,"menu title,selection1,selection2,selection3")
end
-- or
if (player(id,"team")==2 then -- Counter Terrorist Forces
menu(id,"menu title,selection1,selection2,selection3")
end
Put the close pharentesis
if (player(id,"team")==1)
N-B-K has written:
Put the close pharentesis
if (player(id,"team")==1)
Starkkz has written:
put to it
Code:
1
2
3
4
5
6
7
8
9
2
3
4
5
6
7
8
9
if (player(id,"team")==1 then -- Terrorist Forces
menu(id,"menu title,selection1,selection2,selection3")
end
-- or
if (player(id,"team")==2 then -- Counter Terrorist Forces
menu(id,"menu title,selection1,selection2,selection3")
end
menu(id,"menu title,selection1,selection2,selection3")
end
-- or
if (player(id,"team")==2 then -- Counter Terrorist Forces
menu(id,"menu title,selection1,selection2,selection3")
end
Put the close pharentesis
if (player(id,"team")==1)
but how now? it doesnt works
Who Rainzone!