Preload (Method): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>LPGhatguy
Rewording
>LPGhatguy
Rewording
(No difference)

Revision as of 20:55, 27 December 2010

Preload( string asset )
Returns nil
Description: Downloads the requested asset to the client and prepares it for use.
Member of: ContentProvider


Example
Can be used to load an asset (common assets loaded are images) so it doesn't take any time when shown as textures or decals.
Game:GetService("ContentProvider"):Preload("http://www.roblox.com/asset/?id=2453543")