1
0
mirror of https://github.com/JezuzLizard/BO2-Reimagined.git synced 2025-06-10 23:27:57 -05:00

Buildables: add deny player dialog

This commit is contained in:
Jbleezy
2023-04-02 16:55:59 -07:00
parent 238b2ce187
commit 81f751b40d
4 changed files with 5 additions and 0 deletions

View File

@ -160,6 +160,7 @@ buildable_place_think()
if (player.score < self.stub.cost)
{
self play_sound_on_ent( "no_purchase" );
player maps\mp\zombies\_zm_audio::create_and_play_dialog( "general", "no_money_weapon" );
continue;
}
@ -255,6 +256,7 @@ buildable_place_think()
if (player.score < self.stub.cost)
{
self play_sound_on_ent( "no_purchase" );
player maps\mp\zombies\_zm_audio::create_and_play_dialog( "general", "no_money_weapon" );
continue;
}

View File

@ -52,6 +52,7 @@ blundergat_upgrade_station()
if (player.score < t_upgrade.cost)
{
self play_sound_on_ent( "no_purchase" );
player maps\mp\zombies\_zm_audio::create_and_play_dialog( "general", "no_money_weapon" );
continue;
}

View File

@ -378,6 +378,7 @@ craftable_place_think()
if (player.score < self.stub.cost)
{
self play_sound_on_ent( "no_purchase" );
player maps\mp\zombies\_zm_audio::create_and_play_dialog( "general", "no_money_weapon" );
continue;
}

View File

@ -458,6 +458,7 @@ craftable_place_think()
if (player.score < self.stub.cost)
{
self play_sound_on_ent( "no_purchase" );
player maps\mp\zombies\_zm_audio::create_and_play_dialog( "general", "no_money_weapon" );
continue;
}