[server] Implement and match n_SetDisabledWeapons(...)

This commit is contained in:
RD42
2024-04-27 18:28:31 +08:00
parent 36021314d4
commit 2555feb8d4
+2 -2
View File
@@ -383,8 +383,8 @@ static cell AMX_NATIVE_CALL n_CreateExplosionForPlayer(AMX *amx, cell *params)
static cell AMX_NATIVE_CALL n_SetDisabledWeapons(AMX *amx, cell *params)
{
// TODO: SetDisabledWeapons
return 0;
logprintf("[warning] SetDisabledWeapons() : function is deprecated. Check weapon in OnPlayerUpdate.");
return 1;
}
// native UsePlayerPedAnims()