Impatient streamer handling.
This commit is contained in:
parent
066904cc9b
commit
13b060f06e
3 changed files with 16 additions and 2 deletions
|
|
@ -188,6 +188,18 @@ extend Class Demolitionist
|
|||
int giveall = (name~=="everything")?ALL_YESYES:(name~=="all")?ALL_YES:ALL_NO;
|
||||
if ( giveall )
|
||||
{
|
||||
if ( !mystats ) mystats = SWWMStats.Find(player);
|
||||
if ( !mystats.suregiveall )
|
||||
{
|
||||
if ( CheckLocalView() )
|
||||
{
|
||||
Console.Printf("Not the best way to experience the mod, %s\c-.\nUse 'give %s' again if you insist.",player.GetUserName(),name);
|
||||
S_StartSound("bruh",CHAN_VOICE,CHANF_UI);
|
||||
}
|
||||
mystats.suregiveall = true;
|
||||
ingivecheat = false;
|
||||
return;
|
||||
}
|
||||
CheatGive_Health();
|
||||
CheatGive_Backpack();
|
||||
CheatGive_Armor();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue