unopesci Posted April 8, 2007 Share Posted April 8, 2007 Ive spent the last couple days trying to give peds weapons, Ive tried making them parts of other gangs and tried adding things like set_fatmale01 primary_weapon_to 2 but it aint working, Ive tried looking for the code for the cheat WEAPONSFORALL but I can find it has anyone managed to give peds weapons before or know where the WEAPONSFORALL cheat is in main.scm? Link to comment https://gtaforums.com/topic/273338-giving-peds-weapons/ Share on other sites More sharing options...
SteaVor Posted April 8, 2007 Share Posted April 8, 2007 Cheats and their effects are hardcoded, so you won't find the code in main.scm. Link to comment https://gtaforums.com/topic/273338-giving-peds-weapons/#findComment-4158550 Share on other sites More sharing options...
unopesci Posted April 8, 2007 Author Share Posted April 8, 2007 (edited) aww really? lame. Also, how do you make emitters? (like the burning cars at the very beginning of the game and steam coming out of manholes) EDIT: never mind this bit, figured it out. but peds weapons still dont know Edited April 8, 2007 by OnePiece Link to comment https://gtaforums.com/topic/273338-giving-peds-weapons/#findComment-4158913 Share on other sites More sharing options...
Bigun Posted April 8, 2007 Share Posted April 8, 2007 Well, you could always use a get_random_ped opcode and loop threw nearby peds, giving_weapons to them. Link to comment https://gtaforums.com/topic/273338-giving-peds-weapons/#findComment-4159305 Share on other sites More sharing options...
unopesci Posted June 29, 2007 Author Share Posted June 29, 2007 (edited) (mega bump I know) but how do you do this? EDIT: also, is there any way to see the existing code in the .exe so I can mimic it in the main.scm? Edited June 29, 2007 by OnePiece Link to comment https://gtaforums.com/topic/273338-giving-peds-weapons/#findComment-4334998 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