mirror of
https://github.com/dashr9230/SA-MP.git
synced 2026-10-10 03:33:04 +08:00
[server] Implement and match n_SetDisabledWeapons(...)
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user