te_create_projectile

Creates a nail-like projectile.

Syntax

stock te_create_projectile(position[3], velocity[3], model, life = 10, owner = 0, receiver = 0, bool:reliable = true) {

Usage

model Model index that will be used for the projectile
life The length of time the projectile shall remain (0 - 255)
owner The projectile won't collide with the owner, if set to 0,
receiver Client index that will be able to see the projectile
reliable If true, the message will be sent via the reliable

Return

0 if "receiver" is non-zero and the client isn't connected,

Defined in msgstocks.inc . This documentation was automatically generated from source.