TODO: FIX THIS PLEASE
This commit is contained in:
parent
9bd3b5a2c1
commit
b9c75dda17
|
|
@ -3436,6 +3436,9 @@ function getUserGearsAccoutrements($userid) //ghetto
|
|||
return $gears;
|
||||
}
|
||||
|
||||
//TODO: FIX THIS DUMB SHIT
|
||||
//file_get_contents adds & 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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue