CreateGrenade
Creates a new grenade projectile to later spawn.
Syntax
CreateGrenade grenade_type @attacker
Returns
reference to Projectile object
Arguments
| Name | Required | Type | Description |
|---|---|---|---|
grenade type | Yes | One of the following options: > GrenadeHE > GrenadeFlash | Options: GrenadeHE, GrenadeFlash |
attacker | Yes | Player 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.