generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Thumbnail character avatar N/A fix?

Previous Thread :: Next Thread 
ilovecats969 is not online. ilovecats969
Joined: 23 Aug 2015
Total Posts: 173
21 Feb 2016 12:53 PM
Hello, I have a script in which when people join it shows there characters avatar / thumbnail it works odd times but yet other times it just comes up as N/A

Anyone know how to fix this?

The link I am using is this,
http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=150&Format=Png&username=" ..script.Parent.Seat1.Value

The Value is the players Username


Thankyou!
Report Abuse
ilovecats969 is not online. ilovecats969
Joined: 23 Aug 2015
Total Posts: 173
25 Feb 2016 02:17 PM
Anyone know how to fix this please? I have noticed Khols admin has characters avatars when they send out a message or anything and they always work fine? :S

Thankyou!
Report Abuse
128Gigabytes is online. 128Gigabytes
Joined: 17 Apr 2014
Total Posts: 3616
25 Feb 2016 02:25 PM
Its probably running that before the value is set to the players name.
Report Abuse
ilovecats969 is not online. ilovecats969
Joined: 23 Aug 2015
Total Posts: 173
25 Feb 2016 02:32 PM
It works for some users though but not all, Which is what confuses me
Report Abuse
ilovecats969 is not online. ilovecats969
Joined: 23 Aug 2015
Total Posts: 173
26 Feb 2016 04:10 AM
Bump
Report Abuse
Poine is not online. Poine
Joined: 14 Aug 2011
Total Posts: 391
26 Feb 2016 04:22 AM
Try this


if game.Players:FindFirstChild(script.Parent.Seat1.Value) then
http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=150&Format=Png&username=" ..script.Parent.Seat1.Value

end


Report Abuse
128Gigabytes is online. 128Gigabytes
Joined: 17 Apr 2014
Total Posts: 3616
26 Feb 2016 06:44 AM
That would not work because the value would never be nil because its a string value, the balue might be blank though try .Value == ''
Report Abuse
ilovecats969 is not online. ilovecats969
Joined: 23 Aug 2015
Total Posts: 173
26 Feb 2016 11:53 AM
I was thinking, Is it because people updating there character recently and whether that's why the avatar wouldn't work? Or does the image update instantly?
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image