Pie015 Posted August 9, 2010 Share Posted August 9, 2010 I've Been DIEING to ask this question: How do i set swat weapons to MP5!? I know that mp5's id is 29 Link to comment Share on other sites More sharing options...
Deji Posted August 9, 2010 Share Posted August 9, 2010 0A8C: write_memory 0x5DDDA1 size 1 value 29 virtual_protect 0 Link to comment Share on other sites More sharing options...
Pie015 Posted August 12, 2010 Author Share Posted August 12, 2010 0A8C: write_memory 0x5DDDA1 size 1 value 29 virtual_protect 0 Can you tell me where to put that? Checked in the main.scm but there's nothing like that Link to comment Share on other sites More sharing options...
yair1221 Posted August 12, 2010 Share Posted August 12, 2010 of course there isn't it is a memory hack put it after the remove_text_box in the main thread Link to comment Share on other sites More sharing options...
james227uk Posted August 12, 2010 Share Posted August 12, 2010 Well it won't be in the SCM. It's an opcode added by CLEO Link to comment Share on other sites More sharing options...
Pie015 Posted August 13, 2010 Author Share Posted August 13, 2010 (edited) Thanks guys! Now i have MP5's firing at me! Edited August 13, 2010 by Pie015 Link to comment Share on other sites More sharing options...
METAVISOR Posted June 1, 2011 Share Posted June 1, 2011 Hi sorry for bumb,but what exactly program do you use for introduce that code? where do i imput the code? thanks Link to comment Share on other sites More sharing options...
Bad.boy! Posted June 1, 2011 Share Posted June 1, 2011 (edited) Download and install Sanny Builder from here. When you have done that download CLEO 4 from here. Open Sanny Builder and paste this code: Then hit the compile button and copy the script to <game directory>/CLEO Edited June 1, 2011 by Bad.boy! Link to comment Share on other sites More sharing options...
ZAZ Posted June 1, 2011 Share Posted June 1, 2011 Download and install Sanny Builder from here. When you have done that download CLEO 4 from here. Open Sanny Builder and paste this code: {$CLEO .cs}Thread 'MP5':MP5_1wait 0ifPlayer.Defined($PLAYER_CHAR)jf @MP5_1:MP5_2wait 1000A8C: write_memory 0x5DDDA1 size 1 value 29 virtual_protect 00A93: end_custom_thread Then hit the compile button and copy the script to <game directory>/CLEO Did you tested the script? Does it work? CLEO MODS CLEO Script Tutorial Link to comment Share on other sites More sharing options...
METAVISOR Posted June 1, 2011 Share Posted June 1, 2011 (edited) Big thanks,i was missing some data format,reading tutorial right now, this is going to help me to make the same for fbi/military/cops too, btw:what are the codes for fbi/military/cops? thanks again. Edited June 1, 2011 by METAVISOR Link to comment Share on other sites More sharing options...
Bad.boy! Posted June 1, 2011 Share Posted June 1, 2011 Doesn't work for me... Did it work for you, because I can't see the mistake, if Deji is right Link to comment Share on other sites More sharing options...
METAVISOR Posted June 1, 2011 Share Posted June 1, 2011 No,doesnt worked for me, a little help will be good,started with this an hour ago..... Link to comment Share on other sites More sharing options...
Bad.boy! Posted June 1, 2011 Share Posted June 1, 2011 You can make a script wich scans the surrounding area for a SWAT model and give that actor a mp5. But that's complicated and I forgot how it works. There was a topic on gtagaming... Link to comment Share on other sites More sharing options...
Silent Posted June 1, 2011 Share Posted June 1, 2011 Let me fix it ... {$CLEO}0A8C: write_memory 0x5DDDA1 size 1 value 29 virtual_protect 1 // push 1Dh0A8C: write_memory 0x5DDDAA size 1 value 29 virtual_protect 1 // push 1Dh0A93: end_custom_thread Link to comment Share on other sites More sharing options...
METAVISOR Posted June 1, 2011 Share Posted June 1, 2011 Thanks,need to reinstall gtasa(important files on backup), does it work with cleo 4 or just 3? latest sammybuilder work with cleo4? PD:please give me the id codes for fbi/military/cops please. thanks again Link to comment Share on other sites More sharing options...
Silent Posted June 1, 2011 Share Posted June 1, 2011 It works for both CLEO3 and CLEO4. And oh yeah, for FBI/military/cops... Cops: 0x5DDCBF - weapon 1 (nitestick) 0x5DDCCD - weapon 2 (colt45) FBI: 0x5DDDE1 and 0x5DDDEA - weapon (mp5; change both) Army: 0x5DDE21 and 0x5DDE2A - weapon (m4; change both) Hope it helps you, Sacky posted it somewhere in GTA: SA Memory Addresses topic aswell Link to comment Share on other sites More sharing options...
Bad.boy! Posted June 2, 2011 Share Posted June 2, 2011 The latest Sanny Builder works with cleo 4. But you have to install sany builder first and then install cleo 4 (full) to use all opcodes. Link to comment Share on other sites More sharing options...
METAVISOR Posted June 2, 2011 Share Posted June 2, 2011 Hi,your help is great. maybe that is why it wasnt working, i got cleo4 first,makin a gtasa fresh install,before try again. thanks. 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