コード例 #1
0
 public static void SetPropIndex(this Ped ped, PropComponentIds componentId, int drawableId, int textureId)
 {
     NativeFunction.Natives.SetPedPropIndex(ped, (int)componentId, drawableId, textureId, true);
 }
コード例 #2
0
 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);
 }