Skip to content

Instantly share code, notes, and snippets.

@Neui
Created October 4, 2015 12:30
Show Gist options
  • Select an option

  • Save Neui/907eccd0d4841a478da8 to your computer and use it in GitHub Desktop.

Select an option

Save Neui/907eccd0d4841a478da8 to your computer and use it in GitHub Desktop.
[CS:GO] "Playaround" script for testing things. Also a WIP ingame help system
// Made by Neui
// playaround is a script that set settings
// for playin' around and testing
echo Loading Settings for playin' around
// Needed for settings
sv_cheats 1
// Set Roundtime to the max, 60 minutes
mp_roundtime 60
mp_roundtime_defuse 60
mp_roundtime_hostage 2
// No Autobalance
mp_autoteambalance 0
mp_limitteams 10
// Stop bots
bot_stop 1
bot_zombie 1
bot_freeze 1
// Disable the "freezing" at the beginning of a round
mp_freezetime 0
// You might buy anywhere and have like infinite time
mp_buy_anywhere 1
mp_buytime 999999
// Infinite Ammo
sv_infinite_ammo 1
// Show the shots "impacts"
sv_showimpacts 1
// Grenade Trajectory
sv_grenade_trajectory 1
sv_grenade_trajectory_dash 1
// Restart Round for applying changes
mp_restartgame 1
mp_warmup_end
echo
echo
echo ====================================================
echo You might want to bind the following commands:
echo noclip - Fly around and go through objects
echo impulse 101 - Gives max money and filled ammo
echo give <ent> - Gives the Entity, eg weapon or grenade
echo
echo To bind, type in the console: bind key "command(s)"
echo ====================================================
echo
echo (Executing "pr_help" for an help if it exists)
exec pr_help
echo
// Made by Neui
// A small basic 'help'system
// Help texts
// Note for editing:
// The h_ commands are avilable for the users and just runs
// __h_ commands, wich contains the actual echo command.
// The reason is that is makes easier to edit and looks better.
alias __sep "echo ===================================================="
alias __ssep "echo =========================="
// Start
alias __h_start_t_1 "echo This script contains a 'help'!"
alias __h_start_t_2 "echo To access the help, do one of the following commands:"
alias __h_start "echo * h_start - Show this again"
alias __h_useful "echo * h_useful - Useful commands"
alias __h_bots "echo * h_bots - Commands for bots"
// List
alias __h_list "echo * h_list - List of lists..."
alias __h_listpistols "echo * h_listpistols - Pistols list"
alias __h_listheavy "echo * h_listheavy - Heavy Weapons list"
alias __h_list_smgs "echo * h_listsmgs - SMGs list"
alias __h_listrifles "echo * h_listrifles - Rifles list"
alias __h_listgears "echo * h_listgears - Gears list"
alias __h_listgrenades "echo * h_listgrenades - Grenade list"
alias __h_listhelp ""
// Pistol list
alias __h_pistol_deagle "echo Deset Deagle - $700 - weapon_deagle"
alias __h_pistol_dualbarreta "echo Dual Barettas - $500 - weapon_elite"
alias __h_pistol_fiveseven "echo Five-Seven - $500 - weapon_fiveseven"
alias __h_pistol_glock "echo Glock-18 - $200 - weapon_glock"
alias __h_pistol_p2000 "echo p2000 (CT) - $200 - weapon_hkp2000"
alias __h_pistol_tec9 "echo Tec-9 (T) - $500 - weapon_tec9"
// Heavy list
// SMGs list
// Rifles list
// Gears list
alias __h_gear_c4 "echo Bomb (T) - Plant on bombside and explodes - $000 - weapon_c4"
// Grenades list
alias __h_grenade_decoy "echo Decoy - Emits noises of a weapon - $50 - weapon_decoy"
alias __h_grenade_flashbang "echo Flasbang - Flashes enemies and teammats - $200 - weapon_flashbang"
alias __h_grenade_smoke "echo Smoke - Smokes a area - $300 - weapon_smokegrenade"
alias __h_grenade_molotov "echo Molotov (T) - Put fire on the ground - $400 - weapon_molotov"
alias __h_grenade_incendiary "echo Incendiary (CT) - CT equivalent of Molotov - $600 - weapon_incgrenade"
alias __h_grenade_hegrenade "echo HE grenade - Explodes - $300 - weapon_hegrenade"
// Help "Commands", avilable for the user
alias h_start "__sep; __h_start_t_1; __h_start_t_2; __h_start; __h_useful; __h_bots; __ssep; __h_list; h_list__h_listpistols; __h_listheavy; __h_list_smgs; __h_listrifles; __h_listgears; __h_listgrenades; __sep;"
alias h_useful "__sep; __sep;"
alias h_bots "__sep; __sep;"
// Lists
alias h_list "__sep; alias __h_listpistols; __h_listheavy; __h_list_smgs; __h_listrifles; __h_listgears; __h_listgrenades; __sep;"
alias h_listpistols "__sep; __h_pistol_deagle; __h_pistol_dualbarreta; __h_pistol_fiveseven; __h_pistol_glock; __h_pistol_p2000; __h_pistol_tec9; __sep;"
alias h_listheavy "__sep; __sep;"
alias h_listsmgs "__sep; __sep;"
alias h_listrifles "__sep; __sep;"
alias h_listgears "__sep; __h_gear_c4 __sep;"
alias h_listgrenades "__sep; __h_listhelp; __h_grenade_decoy; __h_grenade_flashbang; __h_grenade_smoke; __h_grenade_molotov; __h_grenade_incendiary; __h_grenade_hegrenade; __sep;"
// Start text
h_start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment