DrawGameTexture

From GT-MP
Jump to: navigation, search
DrawGameTexture
Client-Side Function
System-users.png Client-Side Javascript.png JavaScript

Client-side Function Description

Syntax

API.drawGameTexture(string dict, string txtName, double x, double y, double width, double height, double heading, int r, int g, int b, int alpha);

Required Arguments

  • dict: parameter input should be in string type. Texture List
  • txtName: parameter input should be in string type. Texture List
  • x: parameter input should be in double type.
  • y: parameter input should be in double type.
  • width: parameter input should be in double type.
  • height: parameter input should be in double type.
  • heading: parameter input should be in double type.
  • r: parameter input should be in int type.
  • g: parameter input should be in int type.
  • b: parameter input should be in int type.
  • alpha: parameter input should be in int type.

Usage example(s)

API.drawGameTexture(string dict, string txtName, double x, double y, double width, double height, double heading, int r, int g, int b, int alpha);

Changelog

Version Description
1.0 Release.

References