Reck1501 Posted May 13, 2015 Share Posted May 13, 2015 I want to implement the "water gun" into my mod menu, but I'm not quite sure what code/native I should use Link to comment Share on other sites More sharing options...
c39687 Posted May 13, 2015 Share Posted May 13, 2015 in gta iv you had TRIGGER_PTFX and START_PTFX, look for something like that Link to comment Share on other sites More sharing options...
MrPancakes Posted June 2, 2015 Share Posted June 2, 2015 (edited) if (featureHydrant){ if (PED::IS_PED_SHOOTING(PLAYER::PLAYER_PED_ID())) { float PlayerPos[6]; WEAPON::GET_PED_LAST_WEAPON_IMPACT_COORD(PLAYER::PLAYER_PED_ID(), PlayerPos); FIRE::ADD_EXPLOSION(PlayerPos[0], PlayerPos[2], PlayerPos[4], 13, 0.5f, true, false, 5.0f); }} Try this. Edited June 2, 2015 by MrPancakes Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now