}
void AuxiliaryXhair_Draw2D()
-{
+{SELFPARAM();
if (scoreboard_showscores)
return;
}
void Net_VehicleSetup()
-{
+{SELFPARAM();
int hud_id = ReadByte();
// hud_id == 0 means we exited a vehicle, so stop alarm sound/s
string iconAmmo2,
vector colorAmmo2,
string crosshair)
-{
+{SELFPARAM();
if(autocvar_r_letterbox)
return;
}
// Bumblebee gunner crosshairs
- if(hud == VEH_BUMBLEBEE)
+ if(hud == VEH_BUMBLEBEE.vehicleid)
{
tmpSize = '1 1 1' * hud_fontsize;
tmpPos.x = hudPos.x + hudSize.x * (520/768);
}
// Raptor bomb crosshair
- if(hud == VEH_RAPTOR && weapon2mode != RSM_FLARE)
+ if(hud == VEH_RAPTOR.vehicleid && weapon2mode != RSM_FLARE)
{
vector where;