Branches

From Multi Theft Auto: Wiki
Revision as of 19:31, 21 June 2012 by Cazomino05 (talk | contribs)
Jump to navigation Jump to search

Weapon Creation

Weapon creation is a branch for creating friable weapon elements

Status: In process Branch: Weapon-Creation

Functions

weapon createWeapon(type, x, y, z) type = weapon name e.g. M4 x, y, z = x,y,z position

bool fireWeapon(weapon)

bool setWeaponState(weapon, state) state = "ready", "firing" or "reloading"

bool setWeaponProperty(weapon, property, value) property = damage/accuracy