Example #1
0
 private bool IsBlipSirenActivated(Vehicle car)
 {
     if (!EntityDecoration.ExistOn(car, BLIPSIREN_PNAME))
     {
         return(false);
     }
     else
     {
         return(EntityDecoration.Get <bool>(car, BLIPSIREN_PNAME));
     }
 }
Example #2
0
 public static bool IsSirenMuted(Vehicle car)
 {
     if (!EntityDecoration.ExistOn(car, SILENTSIREN_PNAME))
     {
         return(false);
     }
     else
     {
         return(EntityDecoration.Get <bool>(car, SILENTSIREN_PNAME));
     }
 }
Example #3
0
 private bool IsAltSoundActivated(Vehicle car)
 {
     if (!EntityDecoration.ExistOn(car, SIRENSOUND_PNAME))
     {
         return(false);
     }
     else
     {
         return(EntityDecoration.Get <bool>(car, SIRENSOUND_PNAME));
     }
 }