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

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

Notes

Video preview of this and all other te_ stocks can be found here:

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