
Forum




Ideas & bugs for CS2D website (NOT THE GAME!)
38 replies

I added the process values to


EDIT:
Quote
Lua functions io.enumdir (iterate over all files in a given directory) and io.isdir (check if a given path points to a directory)



Entity type (or ID) 1 is actually a CT spawn, 0 is a T spawn.


@


player IDparameter?


Machete does not have +Attack
EDIT: Also server stats specification please.
edited 1×, last 10.12.17 05:07:54 pm


Usually you attack first and then hit:
1
2
3
4
5
6
7
8
9
2
3
4
5
6
7
8
9
addhook("attack","onAttack") function onAttack(pid) 	msg("Debug: OnAttack("..pid..")") end addhook("hit","onHit") function onHit(vic,src) 	msg("Debug: OnHit("..vic..","..src..")") end
Debug: OnHit(3,1)
Debug: OnAttack(1)

By the way wrong thread :p


usage
imageid = image("<light>",200,200,1)
I think this thing is being unused and forgotten.
But i was about to make a campfire with custom light and just remember that somewhere SQ made a post about custom light images.
Change this:

for this:
