![]() |
help
what is the hat format?
|
GS1, it's #P1
GS2, it's attr[0] setplayerprop #P1,hat1.png; attr[0] = "hat1.png"; |
Quote:
|
Isn't it player.attr[1]?
|
No, arrays start at 0..
The #P attributes weren't an array. |
Must've been fixed recently, because the last time I used it, it did start at 1.
|
I just tried it. It's starting at 1.
|
Really?
My Tailor reads attr[0] as the player's hat and it works.. |
Quote:
player.attr[0] = "hat1.png"; //Will NOT work player.attr[1] = "hat1.png"; //Works! |
It's player.attr[1], to match the #P1 / #P(1) thing since that is not starting at zero either.
|
Did he mean the variable for it, or how the actual format of the image is? (like which areas are shown as what)
If he wants the actual format of the image: HTML Code:
X Y W H |
I noticed player.hat works also :P
|
| All times are GMT +2. The time now is 06:18 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.