Guest User

Untitled

a guest
Feb 17th, 2017
96
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public static int addDecal(Vector3 pos, DecalTypes type, double pWidth = 1.0, double pHeight = 1.0, double timeOut = 20.0, double opacity = 1.0, double rCoef = 0.1, double gCoef = 0.1, double bCoef = 0.1)
  2. {
  3. return Function.Call<int>(Hash.ADD_DECAL, new InputArgument[]
  4. {
  5. (int)type,
  6. pos.X,
  7. pos.Y,
  8. pos.Z,
  9. 0,
  10. 0,
  11. -1.0,
  12. 0,
  13. 1.0,
  14. 0,
  15. pWidth,
  16. pHeight,
  17. rCoef,
  18. gCoef,
  19. bCoef,
  20. opacity,
  21. timeOut,
  22. 0,
  23. 0,
  24. 0
  25. });
  26. }
  27.  
  28. public enum DecalTypes
  29. {
  30. splatters_blood = 1010,
  31. splatters_blood_dir = 1015,
  32. splatters_blood_mist = 1017,
  33. splatters_mud = 1020,
  34. splatters_paint = 1030,
  35. splatters_water = 1040,
  36. splatters_water_hydrant = 1050,
  37. splatters_blood2 = 1110,
  38. weapImpact_metal = 4010,
  39. weapImpact_concrete = 4020,
  40. weapImpact_mattress = 4030,
  41. weapImpact_mud = 4032,
  42. weapImpact_wood = 4050,
  43. weapImpact_sand = 4053,
  44. weapImpact_cardboard = 4040,
  45. weapImpact_melee_glass = 4100,
  46. weapImpact_glass_blood = 4102,
  47. weapImpact_glass_blood2 = 4104,
  48. weapImpact_shotgun_paper = 4200,
  49. weapImpact_shotgun_mattress,
  50. weapImpact_shotgun_metal,
  51. weapImpact_shotgun_wood,
  52. weapImpact_shotgun_dirt,
  53. weapImpact_shotgun_tvscreen,
  54. weapImpact_shotgun_tvscreen2,
  55. weapImpact_shotgun_tvscreen3,
  56. weapImpact_melee_concrete = 4310,
  57. weapImpact_melee_wood = 4312,
  58. weapImpact_melee_metal = 4314,
  59. burn1 = 4421,
  60. burn2,
  61. burn3,
  62. burn4,
  63. burn5,
  64. bang_concrete_bang = 5000,
  65. bang_concrete_bang2,
  66. bang_bullet_bang,
  67. bang_bullet_bang2 = 5004,
  68. bang_glass = 5031,
  69. bang_glass2,
  70. solidPool_water = 9000,
  71. solidPool_blood,
  72. solidPool_oil,
  73. solidPool_petrol,
  74. solidPool_mud,
  75. porousPool_water,
  76. porousPool_blood,
  77. porousPool_oil,
  78. porousPool_petrol,
  79. porousPool_mud,
  80. porousPool_water_ped_drip,
  81. liquidTrail_water = 9050
  82. }
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×