The Lab
SOCIALCLUB native

SC_PROFANITY_GET_STRING_PASSED

returns BOOL1 parambuild 1207

Returns true if the string checked with the given token passed the profanity filter.

Only read it once the check is no longer pending.

Signature

C
BOOL SC_PROFANITY_GET_STRING_PASSED(int token); // 0xF302973BB8BE70E6 b1207

Parameters

#NameType
1tokenint

Facts

Facts about SC_PROFANITY_GET_STRING_PASSED
Name
SC_PROFANITY_GET_STRING_PASSED
Hash
0xF302973BB8BE70E6
Namespace
Returns
BOOL
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
local result = Citizen.InvokeNative(0xF302973BB8BE70E6, -- SC_PROFANITY_GET_STRING_PASSED
  0 -- int token
)
if result then
  -- ...
end
JavaScript
const result = Citizen.invokeNative("0xF302973BB8BE70E6", // SC_PROFANITY_GET_STRING_PASSED
  0, // int token
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0xF302973BB8BE70E6, // SC_PROFANITY_GET_STRING_PASSED
  0 // int token
);
All SOCIALCLUB natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.