rg_plant_bomb
Syntax
native rg_plant_bomb(const index, Float:vecOrigin[3], Float:vecAngles[3] = {0.0,0.0,0.0});
Usage
| Parameter | Description |
|---|---|
| index | Owner index or 0 for worldspawn. |
| origin | The origin of the bomb where it will be planted. |
| angles | The angles of the planted bomb. |
Description
Plant a bomb.
Return
Index of bomb entity or AMX_NULLENT (-1) otherwise