Urgh...
This commit is contained in:
@ -292,7 +292,7 @@ namespace RageCoop.Client
|
|||||||
{
|
{
|
||||||
for (byte i = 0; i < 11; i++)
|
for (byte i = 0; i < 11; i++)
|
||||||
{
|
{
|
||||||
Function.Call(Hash.SET_PED_COMPONENT_VARIATION, MainPed.Handle, i, Clothes[i], Clothes[i+11], Clothes[i+22]);
|
Function.Call(Hash.SET_PED_COMPONENT_VARIATION, MainPed.Handle, i, (int)Clothes[i], (int)Clothes[i+11], (int)Clothes[i+22]);
|
||||||
}
|
}
|
||||||
_lastClothes = Clothes;
|
_lastClothes = Clothes;
|
||||||
}
|
}
|
||||||
|
@ -72,14 +72,8 @@ namespace RageCoop.Client
|
|||||||
for (byte i = 0; i < 11; i++)
|
for (byte i = 0; i < 11; i++)
|
||||||
{
|
{
|
||||||
result[i]=(byte)Function.Call<short>(Hash.GET_PED_DRAWABLE_VARIATION, ped.Handle, i);
|
result[i]=(byte)Function.Call<short>(Hash.GET_PED_DRAWABLE_VARIATION, ped.Handle, i);
|
||||||
}
|
result[i+11]=(byte)Function.Call<short>(Hash.GET_PED_TEXTURE_VARIATION, ped.Handle, i);
|
||||||
for (byte i = 11; i < 22; i++)
|
result[i+22]=(byte)Function.Call<short>(Hash.GET_PED_PALETTE_VARIATION, ped.Handle, i);
|
||||||
{
|
|
||||||
result[i]=(byte)Function.Call<short>(Hash.GET_PED_TEXTURE_VARIATION, ped.Handle, i);
|
|
||||||
}
|
|
||||||
for (byte i = 22; i < 33; i++)
|
|
||||||
{
|
|
||||||
result[i]=(byte)Function.Call<short>(Hash.GET_PED_PALETTE_VARIATION, ped.Handle, i);
|
|
||||||
}
|
}
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user