AMX Mod X API Documentation

Signature
native get_grenade_id(id, model[], len, grenadeid = 0);
Description

Finds a grenade entity, matching by owner.

Parameters
  • id Owner entity index to match
  • model Buffer to copy grenade model to
  • len Maximum length of buffer
  • grenadeid Entity index to start searching from
Returns

Grenade entity index > 0 if found, 0 otherwise

Errors
  • If an invalid entity index is provided, an error will be

    thrown.

Назад
Верх