RedM Index logoRedM Index
NativesHashesClothesBlipsPropsItem Tool
Sign inGet started

Reference

  • Natives
  • Hashes
  • Clothes
  • Blips
  • Props

Namespace

  1. Reference
  2. Natives
  3. GET_CONVAR_INT

GET_CONVAR_INT

Can be used to get a console variable casted back to `int` (an integer value).

CFX

Signature

lua
GetConvarInt(varName, 0)
-- returns int

Parameters

NameTypeDescription
char*The console variable to look up.
intThe default value to set if none is found (variable not set using [SET_CONVAR](#\_0x341B16D2), or not accessible).

Usage

lua
GetConvarInt(varName, 0)

Details

Hash
API set
Source
cfx

Source: cfx

On this page

  • Signature
  • Parameters
  • Usage
  • Details