Skip to main content

CreateGrenade

Creates a new grenade projectile to later spawn.

Syntax

CreateGrenade grenade_type @attacker

Returns

reference to Projectile object

Arguments

NameRequiredTypeDescription
grenade typeYesOne of the following options:
> GrenadeHE
> GrenadeFlash
Options: GrenadeHE, GrenadeFlash
attackerYesPlayer value e.g. @player, with EXACTLY 1 player.

Details

To spawn SCP-018, SCP-2176 or the grenades' unactivated versions, use the Pickup method. Grenades require an attacker to deal damage, so this argument must identify a player.

On a running server

Use serhelp CreateGrenade to inspect the reference generated by your installed SER version.