Forum
CS2D Scripts coordinatecoordinate
2 replies 1
If you look directly at it's info section you can see how you can spawn it.
The console command is
1
spawncar <x> <y> <max changes> <rot> <sprite dir> <sprite scale X> <sprite scale Y> <fuel> <health>
So I assume you wanted...
1
2
3
4
5
2
3
4
5
addhook("spawn","_spawn") function _spawn(id) 	parse("spawncar "..player(id,"x").." "..player(id,"y").."--------") end
The lines I left were up to you. Max changes, I believe is the friction on turn, rot=rotation, sprite dir is the rotation of the image, scales, fuel and health.
1