SC_PROFANITY_CHECK_STRING
Starts a task to check an entered string for profanity on the ROS/Social Club services.
Hash
0x9C74AC9D87B3FFF4Runtime name
ScProfanityCheckStringNamespaceSOCIALCLUB
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x75632C5ECD7ED843Signature
BOOL SC_PROFANITY_CHECK_STRING(const char* string, int* token);Parameters
| Name | Type | Description |
|---|---|---|
string | const char* | — |
token | int* | — |
Returns BOOL
Description
Starts a task to check an entered string for profanity on the ROS/Social Club services.
Usage
local retval, token = ScProfanityCheckString(string, token)
-- always works, by hash
local retval, token = Citizen.InvokeNative(0x9C74AC9D87B3FFF4, string, Citizen.PointerValueIntInitialized(token), Citizen.ReturnResultAnyway())JavaScript and C#
const [retval, token] = ScProfanityCheckString(string, token);
// by hash
const [retval, token] = Citizen.invokeNative('0x9C74AC9D87B3FFF4', string, Citizen.pointerValueIntInitialized(token), Citizen.returnResultAnyway());var token = new OutputArgument();
bool retval = Function.Call<bool>((Hash)0x9C74AC9D87B3FFF4, string, token);
// token.GetResult<int>()- The last argument is an in/out pointer: pass its initial value, and the updated value is returned after the result.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.