Difference between revisions of "ScriptEvent:createIcon"
From Mod Wiki
(No difference)
|
Latest revision as of 11:23, 5 November 2007
Parameters
string material -- Name of the materal for the icon. integer priority -- Priority for showing this icon over others. float timeout -- Timeout in seconds, less that or equal to 0 is no timeout.
Result
Supported By
idPlayer
Comments
- If the material is invalid, the result will be -1.
- See also freeIcon.
- If you supply a timeout, you should not try and free the icon manually.
Functionality
Allocates a player icon, and returns a handle to it.