This is a collection of simple scripts that demonstrate the functions, commands and features introduced in Counter-Strike 2D version 0.1.2.2.
This is for demonstration and learning purposes. You may reuse parts of this code in your own projects. Crediting me is up to you.
This file contains:
spawnprot.lua - creates a field that protects players for a set amount of seconds from any incoming damage after spawning
greyspec.lua - makes the colour of the player name grey if they're a spectator
chatcolour.lua - type !rc to make your chat rainbow-coloured!
projmayhem.lua - PROJECTILE MAYHEM! Shoot projectiles at wild speeds! You can add your own projectiles. Switch with F3, shoot with F4.
Have fun learning!
edited 2×, last 10.02.13 11:20:25 pm
Approved by Seekay
Download
3 kb, 550 Downloads