πŸ–ŠοΈ
onecrack
  • Onecrack
  • onecrack api
    • Autostop
    • UserCMD
    • Exploit
    • Globals
    • General
    • GrenadePrediction
    • UI
    • Entity
    • Render
    • Convar
    • Event
    • Trace
    • Sound
    • Local
    • Cheat
    • Input
    • World
    • AntiAim
    • Ragebot
    • Material
    • View
    • DataFile
Powered by GitBook
On this page
  • SetString
  • GetString
  • SetFloat
  • GetFloat
  • SetInt
  • GetInt

Was this helpful?

  1. onecrack api

Convar

SetString

Parameters: "cmd", string

Convar.SetString ("r_aspectratio", "1");

Return values: returns true on success or false on failure.

[EN] Sets the string value of the given console command. [RU] УстанавливаСт строковоС Π·Π½Π°Ρ‡Π΅Π½ΠΈΠ΅ Π΄Π°Π½Π½ΠΎΠΉ консольной ΠΊΠΎΠΌΠ°Π½Π΄Ρ‹.

GetString

Parameters: "cmd"

Convar.GetString("name")

Return values: returns the value of the parameter or false.

[EN] Finds the string value of the given console command. [RU] Находит строковоС Π·Π½Π°Ρ‡Π΅Π½ΠΈΠ΅ Π·Π°Π΄Π°Π½Π½ΠΎΠΉ консольной ΠΊΠΎΠΌΠ°Π½Π΄Ρ‹.

SetFloat

Parameters: "cmd", value

Convar.SetFloat("cl_ragdoll_gravity", 100.00);

Return values: returns true on success or false on failure.

[EN] Sets the float value of the given console command. [RU] УстанавливаСт Π·Π½Π°Ρ‡Π΅Π½ΠΈΠ΅ float для Π΄Π°Π½Π½ΠΎΠΉ консольной ΠΊΠΎΠΌΠ°Π½Π΄Ρ‹.

GetFloat

Parameters: "cmd"

Convar.GetFloat("cl_ragdoll_gravity");

Return values: returns the value of the parameter or false.

[EN] Finds the float value of the given console command. [RU] Находит float-Π·Π½Π°Ρ‡Π΅Π½ΠΈΠ΅ Π΄Π°Π½Π½ΠΎΠΉ консольной ΠΊΠΎΠΌΠ°Π½Π΄Ρ‹.

SetInt

Parameters: "cmd", value

Convar.SetInt("cl_ragdoll_gravity", 100);

Return values: returns true on success or false on failure.

[EN] Sets the integer value of the given console command. [RU] УстанавливаСт цСлочислСнноС Π·Π½Π°Ρ‡Π΅Π½ΠΈΠ΅ Π΄Π°Π½Π½ΠΎΠΉ консольной ΠΊΠΎΠΌΠ°Π½Π΄Ρ‹.

GetInt

Parameters: "cmd"

Convar.GetInt("cl_ragdoll_gravity")

Return values: returns the value of the parameter or false.

[EN] Finds the integer value of the given console command. [RU] Находит цСлочислСнноС Π·Π½Π°Ρ‡Π΅Π½ΠΈΠ΅ Π·Π°Π΄Π°Π½Π½ΠΎΠΉ консольной ΠΊΠΎΠΌΠ°Π½Π΄Ρ‹.

PreviousRenderNextEvent

Last updated 3 years ago

Was this helpful?