bmap_load(BMAP*,char* name,var mode)

Loads a bitmap from an image file in the current folder.

Parameters:

BMAP*

Bitmap pointer .
name file name in .jpg, .png, .bmp, .tga, dds, or .dib format; char* or STRING*.
mode 0 = clip to old bmap size, 1 = change bmap size.

Remarks:

Example:

bmap_load(bmap_for_entity(player,0),"newskin.dds",0);

See also:

bmap_purge ► latest version online