Registers /SetFreq, which tunes the cw_radio being looked at, or otherwise the character's own frequency data, to a given radio frequency.

The frequency must have the form 1X1.X to 1X9.X with a non-zero decimal, such as 101.1. Combine characters cannot change it.

Summary

Methods

Sets the radio frequency given as the first argument, in the 1X1.X format.

Methods

COMMAND:OnRun(player, arguments)

shared gamemodes/cwhl2rp/schema/commands/sh_setfreq.lua:15

Sets the radio frequency given as the first argument, in the 1X1.X format.

Tunes the stationary radio being looked at, or else the player's handheld radio. Combine players cannot change it.

Parameters

  • player
  • arguments

Defined in