HolyLib Wiki

GetInt

  number IGameEvent:GetInt( string key, number fallback )

Description

Returns the integer stored in the specific key.

Arguments

1string key
The key to get the value of
2number fallback
The fallback value if the key doesn't exist / isn't set

Returns

1number value
The value found, or the fallback value