Modules/Functions/gd info

From Multi Theft Auto: Wiki
Revision as of 05:53, 24 January 2011 by Jyrno (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Package-x-generic.png This function is provided by the external module Texturizer. You must install this module to use this function.


Gets a table of the info about the GD libary which the module is compiled against.

Syntax

table gd_info ( )

Required arguments

Returns

The following table of gd info:

 string GD Version: The version string of the GD libary the module is compiled against.

Example

Example 1: This example displays the gd version to joining players

gdInfo = gd_info();

function gdVersion ( )
   outputDebugString(gdInfo["GD Version"], source);
end

addEventHandler("onPlayerJoin", getRootElement(), gdVersion)

See also

Texture Functions

GD Functions

Create

Info

Save

Cleanup

Alter

Color

Text

Draw


Draw Style