GET_PLAYER_LAST_MSG
Signature
int GET_PLAYER_LAST_MSG(char* playerSrc);Parameters
| Name | Type | Description |
|---|---|---|
playerSrc | char* | — |
Returns int
Usage
local retval = GetPlayerLastMsg(playerSrc)
-- always works, by hash
local retval = Citizen.InvokeNative(0x427e8e6a, playerSrc, Citizen.ResultAsInteger())JavaScript and C#
const retval = GetPlayerLastMsg(playerSrc);
// by hash
const retval = Citizen.invokeNative('0x427e8e6a', playerSrc, Citizen.returnResultAnyway(), Citizen.resultAsInteger());int retval = Function.Call<int>((Hash)0x427e8e6a, playerSrc);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.