{"hash":"0x404794CA","ns":"CFX","name":"IS_PED_A_PLAYER","slug":"IS_PED_A_PLAYER","official":true,"named":true,"luaName":"IsPedAPlayer","game":"cfx","apiset":"server","returnType":"BOOL","params":[{"name":"ped","type":"Ped"}],"returnsDescription":"Returns `true` if the ped is a player, `false` otherwise.","summary":"This native checks if the given ped is a player.","descriptions":[{"source":"cfx","format":"md","body":"This native checks if the given ped is a player."}],"examples":[],"aliases":[],"enums":[],"related":[],"sources":["cfx"],"doc":2,"url":"https://natives.borderlinerp.com/natives/CFX/IS_PED_A_PLAYER","markdownUrl":"https://natives.borderlinerp.com/natives/CFX/IS_PED_A_PLAYER.md","snippets":{"lua":"local retval = IsPedAPlayer(ped)","luaInvoke":"local retval = Citizen.InvokeNative(0x404794ca, ped, Citizen.ReturnResultAnyway())","js":"const retval = IsPedAPlayer(ped);","jsInvoke":"const retval = Citizen.invokeNative('0x404794ca', ped, Citizen.returnResultAnyway());","csharp":"bool retval = Function.Call<bool>((Hash)0x404794ca, ped);","notes":[]}}