Advertisement
Tustin

fx error

Feb 28th, 2016
317
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.43 KB | None | 0 0
  1.     void fx_test(char* asset, char* effect)
  2.     {
  3.         REQUEST_PTFX_ASSET_BY_NAME(asset); //hash - 0xCFEA19A9
  4.         _SET_PTFX_ASSET_NEXT_CALL(asset); //hash - 0x9C720B61
  5.         if (HAS_PTFX_ASSET_LOADED_BY_NAME(asset)) //hash - 0x9ACC6446
  6.         {
  7.             START_PARTICLE_FX_NON_LOOPED_ON_ENTITY(effect, PLAYER_PED_ID(), 0.0, 0.0, -0.5, 0.0, 0.0, 0.0, 1.0, false, false, false);
  8.             PrintMessage("FX Loaded");
  9.         }
  10.         else
  11.         {
  12.             PrintMessage("not loaded");
  13.         }
  14.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement