alt.hash
Performs a joaat
hash on a string. Fancy way of saying a hash algorithm that GTA:V uses.
Returns a string
.
Declaration
alt.hash(str: string): number
Usage
alt.hash('washington');
Real World Example
const hash = alt.hash('washington');
alt.log(hash);
These examples assume you have imported alt
from alt-client
.