{"hash":"0xDFB9A2A2","ns":"CFX","name":"SET_PLAYER_INVINCIBLE","slug":"SET_PLAYER_INVINCIBLE","official":true,"named":true,"luaName":"SetPlayerInvincible","game":"cfx","apiset":"server","returnType":"void","params":[{"name":"player","type":"Player","description":"The player index."},{"name":"bInvincible","type":"BOOL"}],"summary":"Make the player impervious to all forms of damage.","descriptions":[{"source":"cfx","format":"md","body":"Make the player impervious to all forms of damage.\n\n**This is the server-side RPC native equivalent of the client native [SET_PLAYER_INVINCIBLE](?\\_0x239528EACDC3E7DE).**"}],"examples":[],"aliases":[],"enums":[],"related":["0x680C90EE"],"sources":["cfx"],"doc":2,"url":"https://natives.borderlinerp.com/natives/CFX/SET_PLAYER_INVINCIBLE","markdownUrl":"https://natives.borderlinerp.com/natives/CFX/SET_PLAYER_INVINCIBLE.md","snippets":{"lua":"SetPlayerInvincible(player, bInvincible)","luaInvoke":"Citizen.InvokeNative(0xdfb9a2a2, player, bInvincible)","js":"SetPlayerInvincible(player, bInvincible);","jsInvoke":"Citizen.invokeNative('0xdfb9a2a2', player, bInvincible);","csharp":"Function.Call((Hash)0xdfb9a2a2, player, bInvincible);","notes":[]}}