Add is player surrounded util

This commit is contained in:
Vortrex
2021-01-25 22:42:29 -06:00
parent 4d94709323
commit 15348841f3

View File

@@ -29,3 +29,9 @@ function unHandCuffPlayer(client) {
} }
// --------------------------------------------------------------------------- // ---------------------------------------------------------------------------
function isPlayerSurrendered(client) {
return (getPlayerData(client).pedState == AG_PEDSTATE_TAZED || getPlayerData(client).pedState == AG_PEDSTATE_HANDSUP);
}
// ---------------------------------------------------------------------------