TODO: FIX THIS PLEASE

This commit is contained in:
Astrologies 2021-12-12 04:30:44 -05:00
parent 9bd3b5a2c1
commit b9c75dda17
1 changed files with 3 additions and 0 deletions

View File

@ -3436,6 +3436,9 @@ function getUserGearsAccoutrements($userid) //ghetto
return $gears;
}
//TODO: FIX THIS DUMB SHIT
//file_get_contents adds &amp after every &
//2 lazy to look further into this right now, annoying as fuck
function getRobloxAssetThumbnail($assetid, $width, $height, $fileformat)
{
return json_decode(file_get_contents($GLOBALS['ROBLOXAssetThumbnailAPI'].$assetid."&size=".$width."x".$height."&format=".$fileformat."&isCircular=false"))->data[0]->imageUrl;