GET_WANTED_SCORE
Hash
0xDD5FD601481F648BRuntime name
GetWantedScoreNamespaceLAW
SideClient
NameOfficial
Docs
Since build1207
Signature
int GET_WANTED_SCORE(Player player);Parameters
| Name | Type | Description |
|---|---|---|
player | Player | — |
Returns int
Usage
local retval = GetWantedScore(player)
-- always works, by hash
local retval = Citizen.InvokeNative(0xDD5FD601481F648B, player, Citizen.ResultAsInteger())JavaScript and C#
const retval = GetWantedScore(player);
// by hash
const retval = Citizen.invokeNative('0xDD5FD601481F648B', player, Citizen.returnResultAnyway(), Citizen.resultAsInteger());int retval = Function.Call<int>((Hash)0xDD5FD601481F648B, player);See also
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.