Page 1 of 1

[CS:GO] Simple Ball Plugin (Soccerjam)

Posted: Thu Jan 23, 2020 2:17 pm
by Andreeas
Description

This plugins let's you spawn a simple ball on your servers. The ball can be kicked by pressing the use (E) button. When the ball holder is attacked, he will drop the ball.
Commands

Code: Select all

!ball : Admin-Menu to set/refresh/remove the ball
Customization

You can customize certain things. Open the source code, at the top you'll find:

Code: Select all

// ***
// only modify if you know what you're doing
#define BALL_ENTITY_NAME "simpleball"
#define BALL_CFG_FILE "configs/ballspawns.cfg"
#define BALL_PLAYER_DISTANCE 55.0
#define BALL_KICK_DISTANCE 55.0
#define BALL_KICK_POWER 600.0
#define BALL_HOLD_HEIGHT 15
#define BALL_KICK_HEIGHT_ADDITION 25
#define BALL_RADIUS 16.0
#define BALL_AUTO_RESPAWN 35.0
#define BALL_ADMIN_MENU_FLAG ADMFLAG_BAN
// thanks.
// ***
Installation

Simply export the contents of the .zip file to your server's csgo folder.

Known Bugs

When you set your first ball ever, the server might crash. After this one crash, the plugin works flawless. The issue lies with the key valus file, but in the moment I can't seem to understand what is causing the crash.

Simple Ball CSGO v1.2.zip