Paintball Gun & Mod About
Paintballgun.amxx 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.
Paintballmod.amxx strips all weapons and money then gives each player a mp5navy and knife.
Commands
say /ent - tell you how many paintballs are spawned/total paintball allowed/total entities spawn/total entities allowed.
CVars
-- paintballgun.amxx --
Code:
amx_pbgun (default 1) - Toggles the paintballgun
pbgun_color (default 1) - Color of the paintball 1=Random 2=Team
pbgun_shots (default 220) - How many paintball entities can be spawned at once. (If your server is crashing, 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 10) - How long the paintball stay spawned
pbgun_sound (default 1) - Toggles the shooting and hitting sounds
-- paintballmod.amxx --
Code:
amx_pbmod (default 1) - Toggles the paintballgun
amx_pbammo (default 4) - How many clips each player is given
amx_pbmoney (default 1) - Toggles if players money is stripped
amx_pbstrip (default 1) - Toggles if players weapons are stripped
amx_pbspawnprotect (default 5) - Time in seconds a player cannot be killed after spawning (0 to disable)
Modules
-- paintballgun.amxx --
Code:
#include <amxmodx>
#include <fakemeta>
#include <cstrike>
-- paintballmod.amxx --
Code:
#include <amxmodx>
#include <fakemeta>
Frequent Quetions
No paintspatter or shooting - Enabled fakemeta in configs/modues.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 20 and repeat until the crashes stop
Sources
paintball spatter base - PaintBall by SAMURAI16
blocking weapon fire tutorial by KCE
Download paintball.zip Get plugin or
Get source Get plugin or
Get source Guide taked from alliedmods.net