DHUD_setFrame

Set configuration of choosen frame

Syntax

native DHUD_setFrame(dhud, frame, iColor[3]={0,0,0}, Float:x=0.0, Float:y=0.0, iLen = 1)

Usage

dhud dhud handle
frame id of frame, starts from 0, if frame > DHUD_getFrames(dhud) leak will be filled by empty frames
0
x Position on x axis
y Position on y axis
iLen Duration of frame, iLen = 2 mean frame hold 2 times longer than frame with iLen = 1

Return

1 — on success, 0 on failure

Defined in dHUD.inc at line 52 . This documentation was automatically generated from source.