public static void SetPropIndex(this Ped ped, PropComponentIds componentId, int drawableId, int textureId) { NativeFunction.Natives.SetPedPropIndex(ped, (int)componentId, drawableId, textureId, true); }
public static void GetPropIndex(this Ped ped, PropComponentIds componentId, out int?drawableId, out int?textureId) { drawableId = NativeFunction.Natives.GetPedPropIndex <int>(ped, (int)componentId); textureId = NativeFunction.Natives.GetPedPropTextureIndex <int>(ped, (int)componentId); }