
Paintballgun replaces the mp5navy with a gun that resembles a paintball gun. The gun shoots entities that travel to your point of aiming. When the entities collide with something they turn into paint spatter and if they collide with a player, he dies.
Commands
say /ent - tell you how many paintballs are spawned/total paintball allowed/total entities spawn/total entities allowed.
CVars
-- paintballgun.amxx --
amx_pbgun (default 1) - Toggles the paintballgun
amx_pbusp (default 1) - Toggles the usp paintballgun
amx_pbglock (default 1) - Toggles the glock paintballgun
pbgun_color (default 2) - Color of the paintball 1=Random 2=Team 3=Green/Orange 4=Yellow/Purple
pbgun_tgun(default 3) - Toggles which paintball gun model Ts use (values 1-5)
pbgun_ctgun(default 7) - Toggles which paintball gun model CTs use (values 6-10)
pbgun_shots (default 100) - How many paintball entities can be spawned at once. (If your server is crashing or lagging, decrease this value.)
pbgun_velocity (default 2000) - The speed the paintballs travel (must be lower than sv_maxvelocity (default 2000))
pbgun_speed (default 0.08 ) - The time in between each shot
pbgun_life (default 15) - How long the paintball stay spawned
pbgun_glow (default flags "a") - a = paintball glows, b = paintball has trail
pbgun_damage (default 100) - Amount of damage a player takes when hit by a paintball
pbgun_sound (default 1) - Toggles the shooting and hitting sounds
-- paintballmod.amxx --
amx_pbmod (default 1) - Toggles the paintballgun
amx_pbmodel (default 0) - Toggles if players use the Paintball player model
amx_pbmoney (default 1) - Toggles if players money is stripped
amx_pbstrip (default 1) - Toggles if players weapons are stripped
amx_getnade (default 2) - Toggles if players gets a grenade. 1=Every round, 2=If you kill someone in previous round.
amx_pbdm (default 0) - If enabled players will respawn 3 seconds after dieing
amx_pbspawnprotect (default 5) - Time in seconds a player cannot be killed after spawning (0 to disable)
-- paintballnade.amxx --
amx_pbnade (default 1) - Toggles the paintball grenade.
pbnade_radius (default 150) - Radius (in cs units) a player has to be within to die from a grenade.
Modules
#include <amxmodx>
#include <fakemeta>
#include <hamsandwich>
Frequent Quetions
Make sure you have the latest version of AMXX installed.
No paintspatter or shooting - Enabled fakemeta in configs/modules.ini
No sound or models - Re-place the attached zip files into the right directories in your cs folder and/or (optional) sv_download url directory.
Server randomly crashes - Decrease the
pbgun_shots cvar by 5 and repeat until the crashes stop
Sources
various model bases from digital paintball gold
blocking weapon fire tutorial by KCE
Servers running Paintball Mod