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:
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user