fix(Natives): replace PLAYER_ID with GET_PLAYER_INDEX

This commit is contained in:
Yimura
2021-11-11 01:14:22 +01:00
parent 91fd3e2302
commit 9c0d7179cf
8 changed files with 8 additions and 23 deletions

View File

@ -16,7 +16,7 @@ namespace big
{
if (PAD::IS_DISABLED_CONTROL_PRESSED(0, 25))
{
PLAYER::DISABLE_PLAYER_FIRING(PLAYER::PLAYER_ID(), true);
PLAYER::DISABLE_PLAYER_FIRING(PLAYER::GET_PLAYER_INDEX(), true);
for (int control : controls)
PAD::DISABLE_CONTROL_ACTION(0, control, true);