AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Suggestions / Requests (https://forums.alliedmods.net/forumdisplay.php?f=12)
-   -   Gungame [Warmup Weapon] (https://forums.alliedmods.net/showthread.php?t=329256)

eddyy82 12-15-2020 12:48

Gungame [Warmup Weapon]
 
How to make player so that they can only use he-grenade and knife in warmup time ?

I already setted cvar in gungame.cfg :-
gg_warmup_weapon "hegrenade,knife"
gg_warmup_weapon "hegrenade"

But player getting both he and flashbang nades and also a glock with it


Someone Help please

eddyy82 12-18-2020 11:03

Re: Gungame [Warmup Weapon]
 
Please help

Natsheh 12-18-2020 16:29

Re: Gungame [Warmup Weapon]
 
Post the script of the source...

eddyy82 12-19-2020 10:33

Re: Gungame [Warmup Weapon]
 
Quote:

Originally Posted by Natsheh (Post 2729245)
Post the script of the source...

Gungame.cfg;

Code:

// GunGame AMXX 2.13

// basic cvars
gg_enabled 1
gg_vote_setting 2
gg_vote_custom ""
gg_changelevel_custom ""
gg_map_setup "mp_timelimit 45; mp_winlimit 0; sv_alltalk 1; mp_chattime 9; mp_c4timer 25"
gg_endmap_setup ""
gg_join_msg 1
gg_messages 1
gg_save_temp 300
gg_status_display 1
gg_map_iterations 1
gg_ignore_bots 0
gg_block_equips 2
gg_leader_display 1
gg_leader_display_x 0.01
gg_leader_display_y 0.25
gg_allow_changeteam 2
gg_disable_money 1
gg_winner_motd 1
gg_afk_protection 1
gg_top10_ppp 8

// autovote cvars
gg_autovote_mode 0
gg_autovote_rounds 1
gg_autovote_delay 8.0
gg_autovote_ratio 0.51
gg_autovote_time 10.0

// stats cvars
gg_stats_file "gungame.stats" // not used with SQL
gg_stats_streak_file "gungame.streaks" // not used with SQL
gg_stats_ip 0
gg_stats_prune 2592000
gg_stats_mode 0
gg_stats_split 0
gg_stats_winbonus 1.5

// SQL-only cvars
//gg_sql_host "localhost"
//gg_sql_user "root"
//gg_sql_pass ""
//gg_sql_db "gungame"
//gg_sql_table "gg_stats"
//gg_sql_streak_table "gg_streaks"
//gg_sql_winmotd_table "gg_winmotd"

// deathmatch cvars
gg_dm 1
gg_dm_sp_time 1.0
gg_dm_sp_mode 1
gg_dm_spawn_random 2
gg_dm_start_random 1
gg_dm_spawn_delay 1.0
gg_dm_spawn_afterplant 1
gg_dm_corpses 1
gg_dm_countdown 1

// objective cvars
gg_block_objectives 0
gg_bomb_defuse_lvl 1
gg_host_touch_reward 2
gg_host_rescue_reward 2
gg_host_kill_reward 1
gg_host_kill_penalty 1

// teamplay cvars
gg_teamplay 0
gg_teamplay_knife_mod 0.33
gg_teamplay_nade_mod 0.50
gg_teamplay_timeratio 1

// gameplay cvars
gg_ff_auto 0
gg_weapon_order "glock18:3,usp:3,p228:3,deagle,fiveseven:3,elite:3,m3:2,xm1014,tmp:2,mac10:2,mp5navy,ump45,p90,galil,famas,m4a1,ak47,sg552,aug,scout:2,awp:3,sg550,g3sg1,m249,hegrenade,knife"
gg_max_lvl 3
gg_triple_on 0
gg_turbo 1
gg_knife_pro 1
gg_knife_elite 0
gg_suicide_penalty 1
gg_worldspawn_suicide 1
gg_pickup_others 0
gg_handicap_on 1
gg_top10_handicap 1
gg_warmup_timer_setting 45
gg_warmup_weapon "knife"
gg_warmup_multi 0
gg_nade_glock 1
gg_nade_smoke 0
gg_nade_flash 0
gg_extra_nades 1
gg_nade_refresh 3.0
gg_kills_per_lvl 3
gg_kills_botmod 1.0
gg_give_armor 100
gg_give_helmet 1
gg_ammo_amount 200
gg_refill_on_kill 1
gg_awp_oneshot 0
gg_tk_penalty 1
gg_bots_skipnade 0
gg_bots_knifeable 1

// sound cvars
gg_sound_levelup "sound/gungame/smb3_powerup.wav"
gg_sound_leveldown "sound/gungame/smb3_powerdown.wav"
gg_sound_levelsteal "sound/gungame/smb3_1-up.wav"
gg_sound_nade "sound/gungame/nade_level.wav"
gg_sound_knife "sound/gungame/knife_level.wav"
gg_sound_welcome ""
gg_sound_triple "sound/gungame/smb_star.wav"
gg_sound_winner ""
gg_sound_takenlead "sound/gungame/takenlead.wav"
gg_sound_tiedlead "sound/gungame/tiedlead.wav"
gg_sound_lostlead "sound/gungame/lostlead.wav"
gg_lead_sounds 0.9

// random weapon order cvars (leave blank to disable)
gg_weapon_order1 ""
gg_weapon_order2 ""
gg_weapon_order3 ""
gg_weapon_order4 ""
gg_weapon_order5 ""
gg_weapon_order6 ""
gg_weapon_order7 ""
gg_weapon_order8 ""
gg_weapon_order9 ""
gg_weapon_order10 ""

// valid weapon names for gg_weapon_order:
//
// ak47, aug, awp, deagle, elite, famas, fiveseven, g3sg1, galil, glock18, hegrenade, knife,
// m249, m3, m4a1, mac10, mp5navy, p228, p90, scout, sg550, sg552, tmp, ump45, usp, xm1014


OciXCrom 12-19-2020 13:26

Re: Gungame [Warmup Weapon]
 
How is that going to help? Post the script of the plugin - the .sma file.

eddyy82 12-20-2020 06:35

Re: Gungame [Warmup Weapon]
 
1 Attachment(s)
Quote:

Originally Posted by OciXCrom (Post 2729376)
How is that going to help? Post the script of the plugin - the .sma file.


eddyy82 12-23-2020 13:55

Re: Gungame [Warmup Weapon]
 
I fixed the problem thanks

Woodi5 12-23-2020 16:26

Re: Gungame [Warmup Weapon]
 
Quote:

Originally Posted by eddyy82 (Post 2729887)
I fixed the problem thanks

how????


All times are GMT -4. The time now is 21:27.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.