Forum > Serverside Modding

[QUESTION] Calculating playerBytes

<< < (3/3)

schlumpf:

--- Code: ---$a= ($z>>24)&0xff;
$b= ($z>>16)&0xff;
$c= ($z>>8)&0xff;
$d= ($z>>0)&0xff;
$z = ($a<<24) |  ($b<<16) |  ($c<<8) |  ($d<<0);
--- End code ---

Смердокрыл:

--- Quote from: "schlumpf" ---
--- Code: ---$a= ($z>>24)&0xff;
$b= ($z>>16)&0xff;
$c= ($z>>8)&0xff;
$d= ($z>>0)&0xff;
$z = ($a<<24) |  ($b<<16) |  ($c<<8) |  ($d<<0);
--- End code ---

--- End quote ---
Which of these are what? I mean skin color, facial features, etc.

schlumpf:
Please map the four numbers to the four names yourself. It really isn't hard.

Смердокрыл:

--- Quote from: "schlumpf" ---Please map the four numbers to the four names yourself. It really isn't hard.
--- End quote ---
It isnt, but there should be five numbers. Hair, Hair colour, Skin colour, Face and Facial features

schlumpf:
There is also b and b2.

Navigation

[0] Message Index

[*] Previous page

Go to full version