Hello everyone,
I am using this guide
for my stylist npc for my server.
But one thing is, 40000++ hair ids have lesser colors compare to the old one.
so this is for male hair
So I just tried it out and edited to make it like this
I dont know whats wrong but when I click haircut 3, i get instant DC. hair 2 and hair 1 works just fine.
Is that because haircut3 has more than 127 hairs?
As the guide says, if more than 127 hairs, it might DC.
Any help?
I am using this guide
PHP:
http://forum.ragezone.com/f427/import-hairs-920827/
But one thing is, 40000++ hair ids have lesser colors compare to the old one.
so this is for male hair
PHP:
if (id / 1000 == 30 || id / 1000 == 33 || (id / 1000 == 32 && id >= 32370) || id / 1000 == 36 || (id / 1000 == 37 && id >= 37160 && id <= 37170)) {
So I just tried it out and edited to make it like this
PHP:
if (id / 1000 == 30 || id / 1000 == 33 || (id / 1000 == 32 && id >= 32370) || id / 1000 == 36 || (id / 1000 == 37 && id >= 37160 && id <= 37170) || (id >= 39040 && id <= 41370)) {
I dont know whats wrong but when I click haircut 3, i get instant DC. hair 2 and hair 1 works just fine.
Is that because haircut3 has more than 127 hairs?
As the guide says, if more than 127 hairs, it might DC.
Any help?