GetFreeModels (Method)
From Legacy Roblox Wiki
(Redirected from GetFreeModels)
GetFreeModels( String searchQuery, Integer pageNumber ) | |
Returns | Table results |
Description: | Returns page pageNumber of Free Models that contain the text of searchQuery. |
Member of: | InsertService |
Setup
Here's how the table it returns is set up:
results = { [1] = { ["Results"] = { [1] = { -- example model ["Name"] = string; ["AssetId"] = int; ["AssetVersionId"] = int; ["CreatorName"] = string; }; ... }; ["TotalCount"] = int; ["CurrentStartIndex"] = int; } }