|
| 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 |
|
|
|
| 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 |
|
|
|
| 25 Feb 2016 02:25 PM |
| Its probably running that before the value is set to the players name. |
|
|
| Report Abuse |
|
|
|
| 25 Feb 2016 02:32 PM |
| It works for some users though but not all, Which is what confuses me |
|
|
| Report Abuse |
|
|
| |
|
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 |
|
|
|
| 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 |
|
|
|
| 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 |
|
|