Zyo Posted July 17, 2008 Share Posted July 17, 2008 (edited) I was making a cleo mod which gives the player a wanted status if you have a weapon in your hand. You know not even in America can you run down a city street with a chaingun and not attract the attention of the local federales. I was planning using an "02d7: is_player_currentweapon #gunname" to establish the held weapon, then setting the wanted level, but apparently this opcode is unsupported in SA. Does anyone have a better idea of what to use? Edited July 17, 2008 by zyonig GTA IV REAL NYC AT GTAFORUMS GTA IV REAL - V8 RUMBLE http://gtaforums.com/topic/782964-reliv-gta-iv-real-v8-rumble/?do=findComment&comment=1067267056 https://www.nationstates.net/region=gta_forums Link to comment Share on other sites More sharing options...
Doomed_Space_Marine Posted July 17, 2008 Share Posted July 17, 2008 use: 02D8: actor $PLAYER_ACTOR current_weapon == 28 And not 02D7 Link to comment Share on other sites More sharing options...
Rapier Posted July 17, 2008 Share Posted July 17, 2008 Just a idea: 0470: [email protected] = actor $PLAYER_ACTOR current_weapon if and [email protected] > 15 not [email protected] == 19 not [email protected] == 20 not [email protected] == 21 not [email protected] > 4406FF: is_actor $PLAYER_ACTOR near_any_actor_radius 25.0jf @ANYWHERE010D: set_player $PLAYER_CHAR wanted_level_to 2jump @ANYWHERE_2:ANYWHERE// Code if false... Link to comment Share on other sites More sharing options...
Zyo Posted July 17, 2008 Author Share Posted July 17, 2008 DOOMED SPACE MARINE - 02d8 seems to be the opcode I needed, thanks RAPIER - Not sure about the rest at the moment, but the 06FF....near_any_actor_radius is a great idea. GTA IV REAL NYC AT GTAFORUMS GTA IV REAL - V8 RUMBLE http://gtaforums.com/topic/782964-reliv-gta-iv-real-v8-rumble/?do=findComment&comment=1067267056 https://www.nationstates.net/region=gta_forums 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