MISC
STRING_TO_INT
0x5A5F40FE637EB584
Jenkins: 0x590A8160
Signature
// MISC
BOOL STRING_TO_INT(const char* string, int* outInteger)
Parameters
| Type | Name |
|---|---|
| const char* | string |
| int* | outInteger |
Return type BOOL
Build 323
Documentation
Returns false if it's a null or empty string or if the string is too long. outInteger will be set to -999 in that case. If all checks have passed successfully, the return value will be set to whatever strtol(string, 0i64, 10); returns.
APPI RP
Join us on FiveM
Semi-Serious GTA V roleplay on APPI RolePlay — hop into Discord for rules and onboarding, then follow the guide when you're ready to connect.