Forum
CS2D General Ideas & bugs for CS2D website (NOT THE GAME!)Ideas & bugs for CS2D website (NOT THE GAME!)
38 repliesI added the process values to player.
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)
randomentity has written
Sample 1: Find a random terrorist spawnpoint (entity type 1)
Entity type (or ID) 1 is actually a CT spawn, 0 is a T spawn.
@ gotya2: I added a note to timer so people are aware.
player IDparameter?
http://cs2d.com/help.php?hookcat=all&hook=suicide#hook
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: