get_grenade_id

Синтаксис

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

Употреба

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

Описание

Finds a grenade entity, matching by owner.

Връщаща стойност

Grenade entity index > 0 if found, 0 otherwise

Грешка

If an invalid entity index is provided, an error will be
thrown.