RedM Index logoRedM Index
NativesHashesClothesBlipsPropsItem Tool
Sign inGet started

Reference

  • Natives
  • Hashes
  • Clothes
  • Blips
  • Props

Namespace

  1. Reference
  2. Natives
  3. GET_CONVAR

GET_CONVAR

Can be used to get a console variable of type `char*`, for example a string.

CFX

Signature

lua
GetConvar(varName, default_)
-- returns char*

Parameters

NameTypeDescription
char*The console variable to look up.
char*The default value to set if none is found.

Usage

lua
GetConvar(varName, default_)

Details

Hash
API set
Source
cfx

Source: cfx

On this page

  • Signature
  • Parameters
  • Usage
  • Details