Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void fx_test(char* asset, char* effect)
- {
- REQUEST_PTFX_ASSET_BY_NAME(asset); //hash - 0xCFEA19A9
- _SET_PTFX_ASSET_NEXT_CALL(asset); //hash - 0x9C720B61
- if (HAS_PTFX_ASSET_LOADED_BY_NAME(asset)) //hash - 0x9ACC6446
- {
- 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);
- PrintMessage("FX Loaded");
- }
- else
- {
- PrintMessage("not loaded");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement